diff --git a/frontend/src/store/modules/permission.js b/frontend/src/store/modules/permission.js index be81c6b7f1..b39b50c358 100644 --- a/frontend/src/store/modules/permission.js +++ b/frontend/src/store/modules/permission.js @@ -29,7 +29,7 @@ const actions = { commit('SET_CURRENT_PATH', path) } } -export const fullScreenRouters = ['XpackThemeForm'] +export const fullScreenRouters = ['XpackThemeForm', 'system/datasource/DsForm'] export const filterAsyncRouter = (routers) => { // 遍历后台传来的路由字符串,转换为组件对象 return routers.map(router => { if (!fullScreenRouters.includes(router.component) && router.type === 1 && router.pid === 0 && router.component && router.component !== 'Layout') {