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