fix(移动端): 访问公共链接,跳转到登录界面

This commit is contained in:
dataeaseShu 2024-03-06 13:49:11 +08:00
parent 8d461c57bd
commit f43aa84879

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'