Commit 9fb0c489 by 张杰

还原菜单栏

1 parent acaa1306
...@@ -47,12 +47,12 @@ export default { ...@@ -47,12 +47,12 @@ export default {
return store.getters.showLoading; return store.getters.showLoading;
}) })
// 判断页面是否通过window.open 打开(v1.7.0版本地图页面操作是打开新窗口 将菜单栏隐藏) // 判断页面是否通过window.open 打开(v1.7.0版本地图页面操作是打开新窗口 将菜单栏隐藏)
if (window.opener) { // if (window.opener) {
const store = useStore() // const store = useStore()
store.state.collapsed = true // store.state.collapsed = true
store.dispatch('app/setCollapsed', true) // store.dispatch('app/setCollapsed', true)
actions.setGlobalState({ isCollapsed: true }) // actions.setGlobalState({ isCollapsed: true })
} // }
return { return {
hasToken, hasToken,
showLoading showLoading
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!