|
@@ -238,7 +238,7 @@
|
|
|
// this.defaultExpandedKeys = [this.data[0].id];
|
|
// this.defaultExpandedKeys = [this.data[0].id];
|
|
|
// }
|
|
// }
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- alert(row)
|
|
|
|
|
|
|
+ // alert(row)
|
|
|
if (this.$route.params.row) {
|
|
if (this.$route.params.row) {
|
|
|
this.$refs.tree.setCurrentKey(this.$route.params.row.id);
|
|
this.$refs.tree.setCurrentKey(this.$route.params.row.id);
|
|
|
this.defaultExpandedKeys = [this.$route.params.row.id];
|
|
this.defaultExpandedKeys = [this.$route.params.row.id];
|