From 76c8b10dd76013b056c9d960915e8a109d07c23c Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Tue, 28 May 2024 09:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=90=8D=E7=85=A7=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- src/routes/Home.js | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 9e30f4e..c6da42a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "mh-safe-web", + "name": "mh-lcmk-sms-web", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/src/routes/Home.js b/src/routes/Home.js index a0d858b..59db2d0 100644 --- a/src/routes/Home.js +++ b/src/routes/Home.js @@ -32,6 +32,7 @@ import { Button, DatePicker, Select, + notification } from "antd"; import styles from "./dashboard.css"; import "slick-carousel/slick/slick.css"; @@ -48,6 +49,17 @@ const formItemLayout = { labelCol: { span: 6 }, wrapperCol: { span: 14 }, }; + +const openNotification = (placement) => { + notification.info({ + duration: null, + top: 43, + message: `签名照上传提示:`, + description: "您还没上传自己的签名照片,请在我的资料中尽快上传您的签名照!", + placement, + }); +}; + const AllTech = (props) => { return (