fix(仪表板): 网页组件中添加大屏并在移动端查看

This commit is contained in:
dataeaseShu 2024-06-26 17:11:12 +08:00
parent 522b88458d
commit df53474d16

View File

@ -23,7 +23,9 @@ router.beforeEach(async (to, _, next) => {
start() start()
loadStart() loadStart()
await appearanceStore.setAppearance() await appearanceStore.setAppearance()
if (wsCache.get('user.token')) { if (to.name === 'link') {
next()
} else if (wsCache.get('user.token')) {
if (!userStore.getUid) { if (!userStore.getUid) {
await userStore.setUser() await userStore.setUser()
} }