瀏覽代碼

机构选择控件 取消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;