From 70fedc870a765d1bfe3f333733adc0a44b9b1433 Mon Sep 17 00:00:00 2001 From: limin-fit2 Date: Thu, 17 Feb 2022 14:02:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E4=B8=8D=E5=BC=BA=E5=88=B6=E5=88=B7=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010319 --user=李敏 批量操作定时任务时,点击取消按钮和右上角关闭按钮不需要请求接口 https://www.tapd.cn/55049933/s/1104969 --- .../components/track/plan/components/ScheduleBatchSwitch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/components/ScheduleBatchSwitch.vue b/frontend/src/business/components/track/plan/components/ScheduleBatchSwitch.vue index 8bf460bf17..209a6aa2a0 100644 --- a/frontend/src/business/components/track/plan/components/ScheduleBatchSwitch.vue +++ b/frontend/src/business/components/track/plan/components/ScheduleBatchSwitch.vue @@ -83,6 +83,7 @@ export default { this.$post("/test/plan/schedule/Batch/updateEnable", this.schedule, () => { this.$success(this.$t('commons.modify_success')); this.close(); + this.$emit("refresh"); }); }, close() { @@ -94,7 +95,6 @@ export default { }; this.dialogFormVisible = false; removeGoBackListener(this.close); - this.$emit("refresh"); } } }