Browse Source

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

zhulu 1 year ago
parent
commit
f487eba054
1 changed files with 4 additions and 4 deletions
  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;