Merge pull request #7417 from dataease/pr@dev_one_dot_x
fix: 系统管理-任务管理-数据同步,点击“添加任务”后,页面左侧导航栏自动消失 #7373
This commit is contained in:
commit
f98bdf9a50
@ -92,6 +92,7 @@ router.beforeEach(async(to, from, next) => routeBefore(() => {
|
||||
const hasGetUserInfo = store.getters.name
|
||||
if (hasGetUserInfo || to.path.indexOf('/previewScreenShot/') > -1 || to.path.indexOf('/preview/') > -1 || to.path.indexOf('/delink') > -1 || to.path.indexOf('/nolic') > -1) {
|
||||
next()
|
||||
if (to.path.indexOf('/task-ds-form') > -1) return
|
||||
store.dispatch('permission/setCurrentPath', to.path)
|
||||
let route = store.getters.permission_routes.find(
|
||||
item => item.path === '/' + to.path.split('/')[1]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user