更新代码
This commit is contained in:
+2
-2
@@ -108,8 +108,8 @@ router.beforeEach(async (to, from, next) => {
|
||||
|
||||
// 设置页面标题
|
||||
document.title = to.meta.title
|
||||
? `${to.meta.title} - ${config.app_title}`
|
||||
: config.app_title
|
||||
? `${to.meta.title} - ${config.APP_NAME}`
|
||||
: config.APP_NAME
|
||||
|
||||
const userStore = useUserStore()
|
||||
const isLoggedIn = userStore.isLoggedIn()
|
||||
|
||||
Reference in New Issue
Block a user