fix(消息设置): 非空提示

This commit is contained in:
wenyann 2020-10-23 10:51:41 +08:00
parent d55354ab92
commit 00e7c7bed9
4 changed files with 10 additions and 4 deletions

View File

@ -563,6 +563,8 @@ export default {
this.initForm() this.initForm()
this.$success(this.$t('commons.save_success')); this.$success(this.$t('commons.save_success'));
}) })
} else {
this.$warning(this.$t('organization.message.message'));
} }
}, },
removeRowTask(index, data) { // removeRowTask(index, data) { //

View File

@ -232,8 +232,9 @@ export default {
'\n' + '\n' +
'2. Webhook is required except email;\n' + '2. Webhook is required except email;\n' +
'\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: { integration: {
select_defect_platform: 'Please select the defect management platform to be integrated:', select_defect_platform: 'Please select the defect management platform to be integrated:',

View File

@ -231,7 +231,8 @@ export default {
enterprise_wechat_robot: '企业微信机器人', enterprise_wechat_robot: '企业微信机器人',
notes: '注意: 1.事件,接收方式,接收人为必填项;\n' + notes: '注意: 1.事件,接收方式,接收人为必填项;\n' +
' 2.接收方式除邮件外webhook为必填\n' + ' 2.接收方式除邮件外webhook为必填\n' +
' 3.机器人选择为群机器人,安全验证选择“自定义关键词” "任务通知"' ' 3.机器人选择为群机器人,安全验证选择“自定义关键词” "任务通知"',
message: '事件,接收人,接收方式为必填项'
}, },

View File

@ -260,7 +260,9 @@ export default {
'\n' + '\n' +
'2.接收管道除郵件外webhook為必填\n' + '2.接收管道除郵件外webhook為必填\n' +
'\n' + '\n' +
'3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵字”:“任務通知”' '3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵字”:“任務通知”',
message: '事件,接收人,接收管道為必填項\n' +
'\n'
} }
}, },
project: { project: {