Merge pull request #10535 from dataease/pr@dev-v2_st

fix(仪表板): 网页组件中添加大屏并在移动端查看
This commit is contained in:
dataeaseShu 2024-06-26 17:11:55 +08:00 committed by GitHub
commit f98fbaed6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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