微调
This commit is contained in:
@@ -41,6 +41,7 @@ export const initDynamicRouter = async () => {
|
||||
if (item.component && typeof item.component == "string") {
|
||||
item.component = modules["/src/views" + item.component + ".vue"];
|
||||
}
|
||||
|
||||
if (item.meta.isFull) {
|
||||
router.addRoute(item as unknown as RouteRecordRaw);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user