调整:仿真管理地图列表页调整

This commit is contained in:
fan 2019-08-01 08:50:24 +08:00
parent 7bba3d49d6
commit cba988e5d3

View File

@ -103,9 +103,8 @@
});
}
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.$refs.tree.setCurrentKey(mapId);
this.loading = false;