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