mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-18 07:23:50 +08:00
让立即运行直接恢复任务
This commit is contained in:
1 parent
8067f3286b
commit
8a1c9debbb
2 files changed
+18
-4
No files matched your search
@@ -528,7 +528,9 @@ export default function SchedulesPage() {
|
||||
else {
|
||||
const result = await api.runScheduleNow(id);
|
||||
if (result.errors?.length) {
|
||||
toast.warning(`已启动 ${result.started} 个任务,但有 ${result.errors.length} 个任务未启动`);
|
||||
toast.warning(
|
||||
`已启动 ${result.started} 个任务,但有 ${result.errors.length} 个任务未启动:${result.errors.join(";")}`,
|
||||
);
|
||||
} else {
|
||||
toast.success(`已立即运行 ${result.started} 个任务`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user