diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index f70dd46..2983b04 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -37,6 +37,7 @@ export function filterAsyncRoutes(routes) { guard: route.guard_name, folder: route.folder, isModule: !/^\/./.test(route.path), + //TODO:修改地址 moduleUri: /^\/./.test(route.path) ? '' : `http://localhost:9529/${route.path}`, moduleName: /^\/./.test(route.path) ? '' : route.path, }