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