vue-router.mjs:35 [Vue Router warn]: No match found for location with path "" [Vue Router warn]: uncaught error during route navigation:
原來用route.push 報錯要改成route.addRoute
accessRoutes.forEach(item=>{ modules.push(item) //router.push(item) router.addRoute(item) })