Sfoglia il codice sorgente

fix:树形控件收起优化

刘恒 1 anno fa
parent
commit
86f422b14f

+ 2 - 2
src/components/tree/agentChanell.vue

@@ -10,7 +10,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       ref="tree"
     >
       <template slot="custom" slot-scope="item">
@@ -27,7 +27,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       ref="tree"
     >
       <template slot="custom" slot-scope="item">

+ 1 - 1
src/components/tree/agentTree.vue

@@ -8,7 +8,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       :expanded-keys="expandedKeys"
       @expand="onExpand"
       ref="tree"

+ 1 - 1
src/components/tree/allTree.vue

@@ -9,7 +9,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       :expanded-keys="expandedKeys"
       @expand="onExpand"
       ref="tree"

+ 1 - 1
src/components/tree/tree.vue

@@ -9,7 +9,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       :expanded-keys="expandedKeys"
       @expand="onExpand"
       ref="tree"

+ 1 - 1
src/components/tree/userTree.vue

@@ -9,7 +9,7 @@
       :checkable="checkable"
       @check="onCheck"
       v-model="checkList"
-      :auto-expand-parent="autoExpandParent"
+     
       :expanded-keys="expandedKeys"
       @expand="onExpand"
       ref="tree"

+ 1 - 1
src/pages/sys/role.vue

@@ -37,7 +37,7 @@
         <a-tree
           v-model="checkedKeys"
           checkable
-          :auto-expand-parent="autoExpandParent"
+         
           :selected-keys="selectedKeys"
           :tree-data="treeData"
           @select="onSelect"