Merge pull request #8373 from dataease/pr@dev-v2_de_link

fix(移动端): 访问公共链接,跳转到登录界面
This commit is contained in:
dataeaseShu 2024-03-06 13:49:42 +08:00 committed by GitHub
commit 2c4910735c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ router.beforeEach(async (to, from, next) => {
start()
loadStart()
if (isMobile()) {
if (isMobile() && to.name !== 'link') {
done()
loadDone()
window.location.href = window.origin + '/mobile.html#/index'