顶部菜单显示调整

This commit is contained in:
joylink_cuiweidong 2020-03-19 15:49:28 +08:00
parent 1df8f5cac4
commit d2bc0f0ac1

View File

@ -57,9 +57,10 @@ export default {
}, },
{ {
name: 'global.caseShow', name: 'global.caseShow',
handle: this.goToCaseShow, // handle: this.goToCaseShow,
isHelp:true, isHelp:true,
style:'padding-right:0px;' style:'padding-right:0px;',
hidden:getSessionStorage('project').endsWith('hyd')
}, },
{ {
name: 'global.scan', name: 'global.scan',
@ -105,7 +106,7 @@ export default {
return getSessionStorage('project'); return getSessionStorage('project');
}, },
isShown() { isShown() {
return getSessionStorage('project') == 'login' || getSessionStorage('project') == 'design'; return getSessionStorage('project') == 'login' || getSessionStorage('project') == 'design' || getSessionStorage('project').endsWith('gzb') || getSessionStorage('project').endsWith('xty');
} }
}, },
watch: { watch: {