refactor: cancel tip

pull/21/merge
xiaojunnuo 2023-07-03 22:09:47 +08:00
parent dceb33006a
commit 6a3955a1d6
1 changed files with 4 additions and 3 deletions

View File

@ -61,11 +61,12 @@ export default defineComponent({
cancelText: "取消",
onOk: async () => {
await api.Cancel(props.runnable.id);
notification.success({
message: "任务取消成功"
});
}
});
notification.success({
message: "任务取消成功"
});
}
return {
status,