From 04f1b252bbd277c3b22a87486a4239f33ec83940 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 20 Sep 2023 14:40:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=80=9A=E7=9F=A5=E7=BC=96=E8=BE=91=E6=9C=AA=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=EF=BC=8C=E5=86=8D=E6=AC=A1=E6=89=93=E5=BC=80=E5=A4=84?= =?UTF-8?q?=E4=BA=8E=E7=BC=96=E8=BE=91=E7=8A=B6=E6=80=81=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1030898 --user=王旭 【UI测试】场景定时任务-编辑通知-未保存关闭窗口-再次进入-仍显示关闭前修改的数据和编辑状态 https://www.tapd.cn/55049933/s/1418318 --bug=1030897 --user=王旭 【UI测试】场景定时任务-任务通知-创建新通-未填写数据未点击添加-关闭窗口仍显示添加记录 https://www.tapd.cn/55049933/s/1418319 --- .../src/business/automation/schedule/ScheduleMaintain.vue | 1 + .../src/business/automation/schedule/ScheduleNotification.vue | 4 +++- framework/sdk-parent/frontend/src/i18n/lang/en-US.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/api-test/frontend/src/business/automation/schedule/ScheduleMaintain.vue b/api-test/frontend/src/business/automation/schedule/ScheduleMaintain.vue index f817de62cb..e37dca5e18 100644 --- a/api-test/frontend/src/business/automation/schedule/ScheduleMaintain.vue +++ b/api-test/frontend/src/business/automation/schedule/ScheduleMaintain.vue @@ -438,6 +438,7 @@ export default { this.$refs.crontabResult.resultList = []; } removeGoBackListener(this.close); + this.testId = ''; }, intervalShortValidate() { if (this.schedule.enable && this.getIntervalTime() < 3 * 60 * 1000) { diff --git a/api-test/frontend/src/business/automation/schedule/ScheduleNotification.vue b/api-test/frontend/src/business/automation/schedule/ScheduleNotification.vue index bdc7734250..485d99a9d2 100644 --- a/api-test/frontend/src/business/automation/schedule/ScheduleNotification.vue +++ b/api-test/frontend/src/business/automation/schedule/ScheduleNotification.vue @@ -221,7 +221,9 @@ export default { }, watch: { testId() { - this.initForm(); + if (this.testId) { + this.initForm(); + } }, }, methods: { diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index b011821c32..67b14b4fd0 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -2395,7 +2395,7 @@ const message = { definition: "Api Definition", automation: "Api Automation", report: "Test Report", - ui_automation: "Ui Test", + ui_automation: "Ui Automation", }, ldap: { url: "LDAP URL", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index 91c50b6a90..a853e4cceb 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -2301,7 +2301,7 @@ const message = { definition: "接口定义", automation: "接口自动化", report: "测试报告", - ui_automation: "UI测试", + ui_automation: "UI自动化", }, ldap: { url: "LDAP地址", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 6d2404f96a..d5c567faa5 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -2300,7 +2300,7 @@ const message = { definition: "接口定義", automation: "接口自動化", report: "測試報告", - ui_automation: "UI測試", + ui_automation: "UI自動化", }, ldap: { url: "LDAP地址",