forked from github/dataease
Merge pull request #12021 from dataease/pr@dev-v2_st
fix(仪表板): 公共链接自定义字体失效
This commit is contained in:
commit
a3881c2f6b
@ -59,8 +59,8 @@ router.beforeEach(async (to, from, next) => {
|
||||
}
|
||||
}
|
||||
await appearanceStore.setAppearance()
|
||||
await appearanceStore.setFontList()
|
||||
if ((wsCache.get('user.token') || isDesktop) && !to.path.startsWith('/de-link/')) {
|
||||
await appearanceStore.setFontList()
|
||||
if (!userStore.getUid) {
|
||||
await userStore.setUser()
|
||||
}
|
||||
@ -134,7 +134,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
whiteList.includes(to.path) ||
|
||||
to.path.startsWith('/de-link/')
|
||||
) {
|
||||
await appearanceStore.setAppearance()
|
||||
await appearanceStore.setFontList()
|
||||
permissionStore.setCurrentPath(to.path)
|
||||
next()
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user