From 095ef07d9ef91c024903ca271003e630d7f440ce Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 11 Oct 2022 16:43:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=BA=E5=99=A8=E4=BA=BA=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=97=B6=E6=B2=A1=E6=8F=90=E7=A4=BAwebhook=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016932 --user=李玉号 【测试跟踪】测试计划定时任务,添加机器人通知,没提示webhook必填 https://www.tapd.cn/55049933/s/1258552 --- .../frontend/src/components/notification/NotificationTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/notification/NotificationTable.vue b/framework/sdk-parent/frontend/src/components/notification/NotificationTable.vue index 980b50c167..df8f4e9fbd 100644 --- a/framework/sdk-parent/frontend/src/components/notification/NotificationTable.vue +++ b/framework/sdk-parent/frontend/src/components/notification/NotificationTable.vue @@ -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 {