调整:仿真管理地图列表页调整
This commit is contained in:
parent
7bba3d49d6
commit
cba988e5d3
@ -103,9 +103,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let mapId = getSessionStorage('demonList') || this.treeList[0].id;
|
let mapId = getSessionStorage('demonList') || (this.treeList[0] || { id: 0 }).id;
|
||||||
this.$router.push({ path: `${UrlConfig.demonstration.detail}/${mapId}` });
|
this.$router.push({ path: `${UrlConfig.demonstration.detail}/${mapId}` });
|
||||||
this.$refs.tree.setCurrentKey(mapId);
|
this.$refs.tree.setCurrentKey(mapId);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user