From e1a521c90d2abf45b492c701f70e4918ebfc65ae Mon Sep 17 00:00:00 2001 From: sige Date: Wed, 27 Mar 2024 16:38:24 +0800 Subject: [PATCH] ~ --- src/web/src/pages/main/Page.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/src/pages/main/Page.vue b/src/web/src/pages/main/Page.vue index 5c35651..f7bca24 100644 --- a/src/web/src/pages/main/Page.vue +++ b/src/web/src/pages/main/Page.vue @@ -190,6 +190,8 @@ async function notificationRefresh() { } } else if ( 'task-error' === notification.type ) { Modal.error({title: '任务执行失败',content: notification.data}); + } else if ( 'warning' === notification.type ) { + Modal.warning({title: '系统警告',content: notification.data}); } notificationTimer = setTimeout(notificationRefresh, 1000);