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 f54e4ebc
authored
May 16, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zxw-1.7.0' into 'v1.7.0'
新窗口打开不显示菜单栏 See merge request
!8
2 parents
e70695c2
bf83292f
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 @
f54e4eb
...
...
@@ -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