fix: selects
This commit is contained in:
@@ -59,7 +59,7 @@ async function setRoutes() {
|
||||
const componentName = item.component
|
||||
const [, folder] = componentName.split('/')
|
||||
const componentPath = `/src${componentName}`
|
||||
|
||||
|
||||
|
||||
let modules =
|
||||
folder === 'views' ? viewModules : componentModules
|
||||
@@ -80,6 +80,8 @@ async function setRoutes() {
|
||||
meta: item.meta ? JSON.parse(item.meta) : {}
|
||||
})
|
||||
}
|
||||
|
||||
// await router.replace(router.currentRoute.value.fullPath)
|
||||
}
|
||||
|
||||
await setRoutes()
|
||||
|
||||
Reference in New Issue
Block a user