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);