diff --git a/frontend/src/business/components/settings/organization/TaskNotification.vue b/frontend/src/business/components/settings/organization/TaskNotification.vue index b89e5726b0..68fc10ce70 100644 --- a/frontend/src/business/components/settings/organization/TaskNotification.vue +++ b/frontend/src/business/components/settings/organization/TaskNotification.vue @@ -563,6 +563,8 @@ export default { this.initForm() this.$success(this.$t('commons.save_success')); }) + } else { + this.$warning(this.$t('organization.message.message')); } }, removeRowTask(index, data) { //移除 diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index e7e1e4ae3c..a4d197da84 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -232,8 +232,9 @@ export default { '\n' + '2. Webhook is required except email;\n' + '\n' + - '3. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification"' - + '3. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification"', + message: 'Event, receiver and receiving method are required\n' + + '\n' }, integration: { select_defect_platform: 'Please select the defect management platform to be integrated:', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index cebad8ca7c..92c3f20845 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -231,7 +231,8 @@ export default { enterprise_wechat_robot: '企业微信机器人', notes: '注意: 1.事件,接收方式,接收人为必填项;\n' + ' 2.接收方式除邮件外webhook为必填;\n' + - ' 3.机器人选择为群机器人,安全验证选择“自定义关键词” :"任务通知"' + ' 3.机器人选择为群机器人,安全验证选择“自定义关键词” :"任务通知"', + message: '事件,接收人,接收方式为必填项' }, diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index dfd14122d5..0e48ea0c69 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -260,7 +260,9 @@ export default { '\n' + '2.接收管道除郵件外webhook為必填;\n' + '\n' + - '3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵字”:“任務通知”' + '3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵字”:“任務通知”', + message: '事件,接收人,接收管道為必填項\n' + + '\n' } }, project: {