mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 修复工单页面刷新会返回到工作台问题
This commit is contained in:
@@ -82,8 +82,9 @@ export function hasActionPerm(route, action) {
|
||||
export function getPermedViews() {
|
||||
const viewShowMapper = [
|
||||
['console', store.getters.consoleOrgs.length > 0],
|
||||
['tickets', store.getters.consoleOrgs.length > 0],
|
||||
['tickets', true],
|
||||
['audit', store.getters.auditOrgs.length > 0],
|
||||
['settings', true],
|
||||
['workbench', true]
|
||||
]
|
||||
return viewShowMapper.filter(i => i[1]).map(i => i[0])
|
||||
|
||||
Reference in New Issue
Block a user