Compare commits

...

2 Commits

Author SHA1 Message Date
LiuJiaNan 9ac093dd46 优化Icon、Upload 2025-11-01 09:07:08 +08:00
LiuJiaNan aca36570fb 1.0.35 2025-11-01 08:56:38 +08:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import { UndoOutlined } from "@ant-design/icons"; import { ReloadOutlined } from "@ant-design/icons";
const ResetIcon = props => ( const ResetIcon = props => (
<UndoOutlined {...props} /> <ReloadOutlined {...props} />
); );
ResetIcon.displayName = "ResetIcon"; ResetIcon.displayName = "ResetIcon";

View File

@ -1,4 +1,4 @@
import { PlusOutlined } from "@ant-design/icons"; import { PlusOutlined, UploadOutlined } from "@ant-design/icons";
import { Upload as AntUpload, Button, message, Modal } from "antd"; import { Upload as AntUpload, Button, message, Modal } from "antd";
import { useState } from "react"; import { useState } from "react";
@ -128,7 +128,7 @@ const Upload = (props) => {
</div> </div>
) )
: ( : (
<Button type="primary">{uploadButtonText}</Button> <Button type="primary" icon={<UploadOutlined />}>{uploadButtonText}</Button>
); );
return ( return (

View File

@ -1,7 +1,7 @@
{ {
"name": "zy-react-library", "name": "zy-react-library",
"private": false, "private": false,
"version": "1.0.34", "version": "1.0.35",
"type": "module", "type": "module",
"description": "", "description": "",
"author": "LiuJiaNan", "author": "LiuJiaNan",