feat:新增内链打开外网方式

This commit is contained in:
不做码农
2022-07-02 16:50:56 +08:00
parent ff1546ec82
commit 7d46792fb4
2 changed files with 19 additions and 21 deletions
+3 -5
View File
@@ -63,11 +63,9 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
route.component = Layout
} else if (route.component === 'ParentView') {
route.component = ParentView
}
// else if (route.component === 'InnerLink') {
// route.component = InnerLink
// }
else {
} else if (route.component === 'InnerLink') {
route.component = InnerLink
} else {
route.component = loadView(route.component)
}
}