Update app.js

This commit is contained in:
Anyon 2021-12-01 10:20:24 +08:00
parent af66e03327
commit f52e4aff2d

View File

@ -45,6 +45,7 @@
}); });
next(); next();
} else { } else {
console.log(to)
router.addRoute({name: name, path: to.fullPath, component: loadVueFile(to.fullPath)}); router.addRoute({name: name, path: to.fullPath, component: loadVueFile(to.fullPath)});
next({name: name}); next({name: name});
} }