Bläddra i källkod

fix: 添加预警内容为空时的返回逻辑

liujt 8 månader sedan
förälder
incheckning
00ae45285b

+ 1 - 0
src/views/rulesManagement/earlyWarningRules/components/matter-add.vue

@@ -642,6 +642,7 @@
         console.log(form, 'form');
         if (form.actionList.length < 1) {
           this.$message.error('请添加预警内容!');
+          return;
         }
         let actionListLen = form.actionList.filter((item) => item.matterRuleId);
         if (actionListLen?.length != form.actionList.length) {