From dbb777c87ed6f0f6bc2f065db9d4c84e7c9f0dbe Mon Sep 17 00:00:00 2001 From: Wangxin Date: Sun, 9 Nov 2025 22:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=80=E5=88=86=E9=92=9F=E6=B6=88=E5=A4=B1=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ALOps_sys_fe/alops-ui/src/utils/websocket.js | 2 +- ALOps_sys_fe/alops-ui/src/views/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ALOps_sys_fe/alops-ui/src/utils/websocket.js b/ALOps_sys_fe/alops-ui/src/utils/websocket.js index 778dd75f..8e15b7b5 100644 --- a/ALOps_sys_fe/alops-ui/src/utils/websocket.js +++ b/ALOps_sys_fe/alops-ui/src/utils/websocket.js @@ -194,7 +194,7 @@ class WebSocketClient { title: message.title || '系统通知', message: message.content, type: 'info', - duration: 1000000, // 10秒后自动关闭 + duration: 60000, // 60秒后自动关闭 showClose: true, onClick: () => { // 可以在这里添加点击通知后的处理逻辑 diff --git a/ALOps_sys_fe/alops-ui/src/views/index.vue b/ALOps_sys_fe/alops-ui/src/views/index.vue index 1caf5ad3..3447bedf 100644 --- a/ALOps_sys_fe/alops-ui/src/views/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/index.vue @@ -378,7 +378,7 @@ export default { // 定期更新设备状态数据(每分钟更新一次) setInterval(() => { this.refreshDeviceStatus(); - }, 60000); + }, 600000); }, activated() { // 每次进入首页时刷新数据