|
@@ -10,9 +10,6 @@
|
|
|
export default {
|
|
|
|
|
|
created() {
|
|
|
- if (window.location.href === 'https://cssbbwg.4dage.com') {
|
|
|
- window.location.href = 'https://cssbbwg.4dage.com/shouBo/main.html#/Layout/Home'
|
|
|
- }
|
|
|
// 移动端和pc端的切换
|
|
|
if (
|
|
|
window.navigator.userAgent.match(
|
|
@@ -20,8 +17,8 @@ export default {
|
|
|
)
|
|
|
) {
|
|
|
// 移动端
|
|
|
- if (window.location.href.includes("shouBo/main.html#/")) {
|
|
|
- window.location.href = window.location.href.replace("shouBo/main.html#/", "shouBoM/index.html#/");
|
|
|
+ if (window.location.href.includes("/index.html#/")) {
|
|
|
+ window.location.href = window.location.href.replace("/index.html#/", "mobile/index.html#/");
|
|
|
setTimeout(() => {
|
|
|
location.reload(true);
|
|
|
}, 200);
|