单点登录,动态新增

This commit is contained in:
hanchaobo
2024-03-28 18:04:52 +08:00
parent 14f6838c50
commit dfa4c3d4da
7 changed files with 815 additions and 338 deletions
+1
View File
@@ -11,6 +11,7 @@ NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register']
router.beforeEach((to, from, next) => {
console.log("**************************************");
NProgress.start()
if (getToken()) {
to.meta.title && store.dispatch('settings/setTitle', to.meta.title)