feat: 修复打包报错问题

This commit is contained in:
landaiqing
2024-07-13 00:06:43 +08:00
parent 6ec4a92853
commit 4a3809e959
9 changed files with 22 additions and 23 deletions

View File

@@ -8,15 +8,14 @@ import { useNavigate } from "react-router-dom";
import TextArea from "antd/es/input/TextArea";
import { EyeOutlined, PlusOutlined, UnorderedListOutlined } from "@ant-design/icons";
import pic from "@/assets/images/background.png";
import pic2 from "@/assets/images/setting.png";
import Meta from "antd/es/card/Meta";
const MainShare: FunctionComponent = () => {
const navigate = useNavigate();
const [open, setOpen] = useState(false);
const showDrawer = () => {
setOpen(true);
};
// const showDrawer = () => {
// setOpen(true);
// };
const onClose = () => {
setOpen(false);
@@ -150,8 +149,7 @@ const MainShare: FunctionComponent = () => {
</Form>
</Drawer>
<FloatButton
trigger="click"
type="primary"
type={"primary"}
style={{ right: "5%", width: 50, height: 50 }}
icon={<PlusOutlined />}
onClick={() => setOpen(true)}