Skip to content

Commit

Permalink
feat: 增加保存图片
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-0616 committed Aug 16, 2023
1 parent b48678b commit f285c72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,11 @@ const Index = () => {
p-id="2362"></path>
</svg>
</Dropdown>
<Button>Import</Button>
<Button onClick={handleSave}>导出图片</Button>
<Upload onChange={handleImport} maxCount={1} showUploadList={false} beforeUpload={() => false}>
<Button>Import</Button>
<Button>导入json</Button>
</Upload>
<Button onClick={handleSaveJson}>JSON</Button>
<Button onClick={handleSaveJson}>保存json</Button>
</Space>
</div>
<div
Expand Down

0 comments on commit f285c72

Please sign in to comment.