From 10a003a71a6f1c7c5a211c736bf25b7935ae31fa Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 19 Sep 2023 18:04:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5ui=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1030784 --user=王旭 【项目设置】消息设置-UI自动化消息配置和其它标题不统一 https://www.tapd.cn/55049933/s/1417940 --- framework/sdk-parent/frontend/src/i18n/lang/en-US.js | 3 ++- framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js | 4 ++-- framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js | 3 ++- .../menu/notification/ui/UiAutomationNotification.vue | 6 ++++-- 4 files changed, 10 insertions(+), 6 deletions(-) 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 1cce97c119..fd3a874c1c 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -795,6 +795,7 @@ const message = { api: "Api notification", performance: "Performance notification", notice_count: "Number", + ui: "UI notification" }, integration: { select_defect_platform: @@ -2394,7 +2395,7 @@ const message = { definition: "Api Definition", automation: "Api Automation", report: "Test Report", - ui_automation: "Ui Automation", + ui_automation: "Ui Test", }, 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 2798e23478..83783e4259 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -782,7 +782,7 @@ const message = { api: "接口测试任务通知", performance: "性能测试任务通知", notice_count: "通知数", - ui: "UI自动化消息配置", + ui: "UI测试任务通知", }, integration: { select_defect_platform: "请选择要集成的缺陷管理平台:", @@ -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 2602f8e7eb..61a1ee4371 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -781,6 +781,7 @@ const message = { api: "接口測試任務通知", performance: "性能測試任務通知", notice_count: "通知數", + ui: "UI测试任务通知" }, integration: { select_defect_platform: "請選擇要集成的缺陷管理平臺:", @@ -2299,7 +2300,7 @@ const message = { definition: "接口定義", automation: "接口自動化", report: "測試報告", - ui_automation: "UI自動化", + ui_automation: "UI測試", }, ldap: { url: "LDAP地址", diff --git a/project-management/frontend/src/business/menu/notification/ui/UiAutomationNotification.vue b/project-management/frontend/src/business/menu/notification/ui/UiAutomationNotification.vue index c5fc62802a..52b1adc827 100644 --- a/project-management/frontend/src/business/menu/notification/ui/UiAutomationNotification.vue +++ b/project-management/frontend/src/business/menu/notification/ui/UiAutomationNotification.vue @@ -260,8 +260,10 @@ export default { switch (row.event) { case "CREATE": receiverOptions.unshift({id: 'CREATOR', name: this.$t('commons.create_user')}); - if (i2 < 0) { - row.userIds.unshift('CREATOR'); + if (row.isSet) { + if (i2 < 0) { + row.userIds.unshift('CREATOR'); + } } break; case "UPDATE":