@@ -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) {
@@ -200,6 +200,11 @@ export default {
this.getAuthTree(keyWords);
handler (val) {
@@ -240,6 +240,11 @@ export default {
this.getOrganTree(keyWords);