fix: 修复部分公共链接参数移动端出现编码错误提示 (#17792)

This commit is contained in:
王嘉豪
2026-01-15 15:57:25 +08:00
committed by GitHub
parent 68392afebe
commit 36733902d4

View File

@@ -61,7 +61,7 @@ router.beforeEach(async (to, from, next) => {
if (toPath.includes('?')) {
toPath = to.fullPath.substring(0, to.fullPath.lastIndexOf('?'))
}
window.location.href = prefix + '/mobile.html#' + toPath + linkQuery
window.location.href = (prefix + '/mobile.html#' + toPath + linkQuery).replace(/\+/g, '%2B')
} else if (
wsCache.get('user.token') ||
isDesktop ||