mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(仪表板): 网页组件中添加大屏并在移动端查看
This commit is contained in:
parent
522b88458d
commit
df53474d16
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user