Commit b7ea9ba2 by 张晓玮

Merge branch 'zxw-1.8.0' into 'v1.8.0'

隐藏菜单白名单修改

See merge request !17
2 parents ffecbfb9 296a4123
......@@ -49,7 +49,7 @@ export default {
// 判断页面是否通过window.open 打开(v1.7.0版本地图页面操作是打开新窗口 将菜单栏隐藏)
let flag = true
let locationHash = window.location.hash
let hiddenMenu = JSON.parse(localStorage.getItem('hiddenMenu'))
let hiddenMenu = Common.hiddenMenu
hiddenMenu.map(val => {
if (locationHash.indexOf(val) > -1 && locationHash.indexOf('?') > -1) {
flag = false
......
......@@ -38,7 +38,7 @@ export default {
});
let flag = true
let locationHash = window.location.hash
let hiddenMenu = JSON.parse(localStorage.getItem('hiddenMenu'))
let hiddenMenu = Common.hiddenMenu
// 新窗口打开 非地图页面
hiddenMenu.map(val => {
if (locationHash.indexOf(val) > -1 && window.location.hash.indexOf('?') > -1) flag = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!