From 898c794d4ad6c4dbdb78c2d7b42825ecc7e1e3ae Mon Sep 17 00:00:00 2001 From: Hu gang <18768366022@163.com> Date: Tue, 26 Dec 2023 16:54:57 +0800 Subject: [PATCH] fix: hot patch prompts are only executed if executed immediately --- src/views/leaks/components/CreateRepairTaskDrawer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/leaks/components/CreateRepairTaskDrawer.vue b/src/views/leaks/components/CreateRepairTaskDrawer.vue index 30efbe5..a35ab17 100644 --- a/src/views/leaks/components/CreateRepairTaskDrawer.vue +++ b/src/views/leaks/components/CreateRepairTaskDrawer.vue @@ -207,7 +207,7 @@ >点击跳转到{{ item.fix_way }}{{ taskType === 'cve fix' ? '修复' : '移除' }}任务页面

-

只执行热补丁任务,冷补丁任务需手动执行

+

只执行热补丁任务,冷补丁任务需手动执行

{{ countDown }}秒后回到原页面

@@ -307,6 +307,8 @@ export default { }, data() { return { + // 是否立即执行 + isExcuteASAP: false, hostListparams: [], fixParams: {}, // 修复任务入参 @@ -788,6 +790,7 @@ export default { } }, handleSubmit(excuteASAP = false) { + this.isExcuteASAP = excuteASAP; const _this = this; this.form.validateFields((err, values) => { if (!err) { -- Gitee