Procházet zdrojové kódy

机构选择控件 取消200的限制

zhulu před 1 rokem
rodič
revize
f487eba054
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      src/components/orgTreeSelect/index.vue

+ 4 - 4
src/components/orgTreeSelect/index.vue

@@ -241,10 +241,10 @@ export default {
     handleNodeClick() {
     },
     onCheck(data, checked) {
-      if(this.sNodeList.length > 199){
-        this.$refs.tree.setChecked(data, false);
-        this.$message.error('所选机构过多,应小于200')
-      }
+      // if(this.sNodeList.length > 199){
+      //   this.$refs.tree.setChecked(data, false);
+      //   this.$message.error('所选机构过多,应小于200')
+      // }
       if (this.checked) {
         let checkNodes = this.$refs.tree.getCheckedNodes();
         let type = this.queryForm.type;