mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
refactor: cancel tip
This commit is contained in:
+4
-3
@@ -61,11 +61,12 @@ export default defineComponent({
|
|||||||
cancelText: "取消",
|
cancelText: "取消",
|
||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
await api.Cancel(props.runnable.id);
|
await api.Cancel(props.runnable.id);
|
||||||
|
notification.success({
|
||||||
|
message: "任务取消成功"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
notification.success({
|
|
||||||
message: "任务取消成功"
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
status,
|
status,
|
||||||
|
|||||||
Reference in New Issue
Block a user