Skip to content

Commit

Permalink
feat: update profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Nov 27, 2023
1 parent 6ab7b9f commit 6478b8f
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions src/pages/Profile/Data.tsx
Expand Up @@ -36,19 +36,14 @@ export const DataForm: React.FC<DataFormProps> = (props) => {
return (
<Row>
<Col span={props.wrapperSpan} offset={props.labelSpan}>
<Button.Group>
<Button
icon={<Icon.CloudUploadOutlined />}
type="primary"
loading={loading.isLoading(LoadingKey.Databse)}
onClick={handleUpdateDatabaseBackup}
>
立即更新数据库备份
</Button>
<Button icon={<Icon.CloudDownloadOutlined />} type="primary" disabled={true}>
从备份文件恢复数据库(暂不支持)
</Button>
</Button.Group>
<Button
icon={<Icon.CloudUploadOutlined />}
type="primary"
loading={loading.isLoading(LoadingKey.Databse)}
onClick={handleUpdateDatabaseBackup}
>
立即更新数据库备份
</Button>
<Divider />
<Button
icon={<Icon.SyncOutlined />}
Expand Down

0 comments on commit 6478b8f

Please sign in to comment.