|
|
@ -7,7 +7,7 @@ import type { NotificationPlacement } from 'antd/es/notification/interface';
|
|
|
|
|
|
|
|
|
|
|
|
// import { getallnotices, getUidNotices } from "@/api/caravan/User";
|
|
|
|
// import { getallnotices, getUidNotices } from "@/api/caravan/User";
|
|
|
|
|
|
|
|
|
|
|
|
import styles from "./index.module.scss";
|
|
|
|
import styles from "./index.module.less";
|
|
|
|
|
|
|
|
|
|
|
|
enum EventStatus {
|
|
|
|
enum EventStatus {
|
|
|
|
todo = "rgba(255,255,255,1)",
|
|
|
|
todo = "rgba(255,255,255,1)",
|
|
|
@ -77,7 +77,7 @@ const Notice: React.FC = () => {
|
|
|
|
// // ws.send("客户端消息");
|
|
|
|
// // ws.send("客户端消息");
|
|
|
|
// // }, 2000);
|
|
|
|
// // }, 2000);
|
|
|
|
// // };
|
|
|
|
// // };
|
|
|
|
|
|
|
|
|
|
|
|
// ws.onmessage = function (e) {
|
|
|
|
// ws.onmessage = function (e) {
|
|
|
|
// console.log(e.data);
|
|
|
|
// console.log(e.data);
|
|
|
|
// openNotification('topRight')
|
|
|
|
// openNotification('topRight')
|
|
|
|