From 43186542778844eb2261cdc4ce52f2cb22caca1b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 26 Sep 2022 11:41:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E5=BC=B9=E6=A1=86=E4=B8=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016782 --user=刘瑞斌 【性能测试】github #17904,定时任务配置页关闭定时任务后刷新页面定时任务变成开启状态 https://www.tapd.cn/55049933/s/1251868 Closes #17904 --- .../components/performance/test/EditPerformanceTest.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/performance/test/EditPerformanceTest.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue index 42614537da..2492bd0466 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTest.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -447,7 +447,6 @@ export default { }); }, saveCronExpression(cronExpression) { - this.test.schedule.enable = true; this.test.schedule.value = cronExpression; this.saveSchedule(); }, @@ -466,6 +465,9 @@ export default { let url = '/performance/schedule/create'; if (param.id) { url = '/performance/schedule/update'; + } else { + // 创建定时任务,初始化是开启状态 + this.test.schedule.enable = true; } this.$post(url, param, response => { this.$success(this.$t('commons.save_success'));