|
@@ -183,18 +183,13 @@ export default {
|
|
)
|
|
)
|
|
) {
|
|
) {
|
|
// 移动端
|
|
// 移动端
|
|
- if (
|
|
|
|
- window.location.href.includes("web") &&
|
|
|
|
- !window.location.href.includes("webM")
|
|
|
|
- ) {
|
|
|
|
- window.location.href = window.location.href.replace("web", "webM");
|
|
|
|
- location.reload(true);
|
|
|
|
- }
|
|
|
|
} else {
|
|
} else {
|
|
// PC端
|
|
// PC端
|
|
if (window.location.href.includes("webM")) {
|
|
if (window.location.href.includes("webM")) {
|
|
window.location.href = window.location.href.replace("webM", "web");
|
|
window.location.href = window.location.href.replace("webM", "web");
|
|
- location.reload(true);
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ location.reload(true);
|
|
|
|
+ }, 1000);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|