Переглянути джерело

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

zhulu 1 рік тому
батько
коміт
f487eba054
1 змінених файлів з 4 додано та 4 видалено
  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;