Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9fb0c489
authored
Apr 28, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
还原菜单栏
1 parent
acaa1306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/App.vue
src/App.vue
View file @
9fb0c48
...
...
@@ -47,12 +47,12 @@ export default {
return
store
.
getters
.
showLoading
;
})
// 判断页面是否通过window.open 打开(v1.7.0版本地图页面操作是打开新窗口 将菜单栏隐藏)
if
(
window
.
opener
)
{
const
store
=
useStore
()
store
.
state
.
collapsed
=
true
store
.
dispatch
(
'app/setCollapsed'
,
true
)
actions
.
setGlobalState
({
isCollapsed
:
true
})
}
//
if (window.opener) {
//
const store = useStore()
//
store.state.collapsed = true
//
store.dispatch('app/setCollapsed', true)
//
actions.setGlobalState({ isCollapsed: true })
//
}
return
{
hasToken
,
showLoading
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment