mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 03:16:45 +08:00
fix: 订正修改链接的方式
This commit is contained in:
@@ -976,7 +976,9 @@
|
||||
if (this.conLink.openType == 2) {
|
||||
//新的窗口直接打开
|
||||
const url = this.conLink.url
|
||||
if (url.startsWith("/mobile")) {
|
||||
|
||||
console.log(`------- current url is : `, url)
|
||||
if (url.includes("/mobile")) {
|
||||
setTimeout(()=>window.open(url.replace("/mobile", ""), "_top"))
|
||||
} else {
|
||||
location.href = url
|
||||
|
||||
Reference in New Issue
Block a user