sige 1 year ago
parent
commit
e1a521c90d
  1. 2
      src/web/src/pages/main/Page.vue

2
src/web/src/pages/main/Page.vue

@ -190,6 +190,8 @@ async function notificationRefresh() {
} }
} else if ( 'task-error' === notification.type ) { } else if ( 'task-error' === notification.type ) {
Modal.error({title: '任务执行失败',content: notification.data}); Modal.error({title: '任务执行失败',content: notification.data});
} else if ( 'warning' === notification.type ) {
Modal.warning({title: '系统警告',content: notification.data});
} }
notificationTimer = setTimeout(notificationRefresh, 1000); notificationTimer = setTimeout(notificationRefresh, 1000);

Loading…
Cancel
Save