fix(项目设置): 添加机器人通知时没提示webhook必填
--bug=1016932 --user=李玉号 【测试跟踪】测试计划定时任务,添加机器人通知,没提示webhook必填 https://www.tapd.cn/55049933/s/1258552
This commit is contained in:
parent
9c780153d3
commit
095ef07d9e
|
@ -166,7 +166,7 @@ export default {
|
|||
},
|
||||
handleAddTask(index, data) {
|
||||
if (data.event && data.userIds.length > 0 && data.type) {
|
||||
if (data.type === 'WEBHOOK') {
|
||||
if (['WEBHOOK', 'WECHAT_ROBOT', 'LARK', 'NAIL_ROBOT'].indexOf(data.type) >= 0) {
|
||||
if (!data.webhook) {
|
||||
this.$warning(this.$t('organization.message.message_webhook'));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue