From e1da11ba2fdfab2379262c9126964fd916f25a3f Mon Sep 17 00:00:00 2001 From: chunquansang <916920620@è¯@qq.com> Date: Fri, 22 Dec 2023 15:24:45 +0800 Subject: [PATCH] feat:change scss to less --- .../Notice/{index.module.scss => index.module.less} | 1 - src/components/Notice/index.tsx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) rename src/components/Notice/{index.module.scss => index.module.less} (96%) 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')