Browse Source

Merge branch 'master' of http://120.26.64.82:3000/BFFE/Foshan4A4.0

chenrui  3 years ago
parent
commit
975caef314

+ 1 - 1
.gitignore

@@ -7,7 +7,7 @@ yarn-error.log*
 package-lock.json
 tests/**/coverage/
 dist.zip
-
+dist.rar
 # Editor directories and files
 .idea
 .vscode

BIN
dist.rar


+ 5 - 0
src/views/accountGroupManagement/components/accountGroupHome.vue

@@ -225,6 +225,11 @@ export default {
     }
     this.getGroupTree(keyWords)
   },
+  mounted () {
+    setTimeout(() => {
+      this.$refs.tree.setCurrentKey(this.expandedKeys[this.expandedKeys.length - 1]);
+    }, 500);
+  },
   watch: {
     dataList: {
       handler: function (val) {

+ 5 - 0
src/views/authorityManagement/components/authorityHome.vue

@@ -200,6 +200,11 @@ export default {
     }
     this.getAuthTree(keyWords);
   },
+  mounted () {
+    setTimeout(() => {
+      this.$refs.tree.setCurrentKey(this.expandedKeys[this.expandedKeys.length - 1]);
+    }, 500);
+  },
   watch: {
     dataList: {
       handler (val) {

+ 5 - 0
src/views/organizationManagement/components/organizationHome.vue

@@ -240,6 +240,11 @@ export default {
     }
     this.getOrganTree(keyWords);
   },
+  mounted () {
+    setTimeout(() => {
+      this.$refs.tree.setCurrentKey(this.expandedKeys[this.expandedKeys.length - 1]);
+    }, 500);
+  },
   watch: {
     dataList: {
       handler: function (val) {