Forráskód Böngészése

通知人限制最多10人

yusheng 11 hónapja
szülő
commit
adc452a3aa

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

@@ -387,6 +387,10 @@
         this.$refs.selectPersonDialogRef.open(row, index);
       },
       changeParent(list, index) {
+        if (list.length > 10) {
+          this.$message.warning('最多选择10个通知人!');
+           return
+        }
         this.NumberOfPeople = list.length;
         console.log(list.length, 'list', this.isBindPlan);
         let ids = list