diff --git a/src/components/Notice/index.module.scss b/src/components/Notice/index.module.less similarity index 96% rename from src/components/Notice/index.module.scss rename to src/components/Notice/index.module.less index d5ccff3..e5db431 100644 --- a/src/components/Notice/index.module.scss +++ b/src/components/Notice/index.module.less @@ -29,7 +29,6 @@ } .doLeftBtn { - @extend .dobtn; border-right: 1px solid #f0f0f0; } diff --git a/src/components/Notice/index.tsx b/src/components/Notice/index.tsx index cd0bdc9..ac166d5 100644 --- a/src/components/Notice/index.tsx +++ b/src/components/Notice/index.tsx @@ -7,7 +7,7 @@ import type { NotificationPlacement } from 'antd/es/notification/interface'; // import { getallnotices, getUidNotices } from "@/api/caravan/User"; -import styles from "./index.module.scss"; +import styles from "./index.module.less"; enum EventStatus { todo = "rgba(255,255,255,1)", @@ -77,7 +77,7 @@ const Notice: React.FC = () => { // // ws.send("客户端消息"); // // }, 2000); // // }; - + // ws.onmessage = function (e) { // console.log(e.data); // openNotification('topRight')