Просмотр исходного кода

移除index-pc.html文件,内容更新到index.html中

guohh лет назад: 5
Родитель
Сommit
a3c2b5f3a2
2 измененных файлов с 1 добавлено и 6 удалено
  1. 1 1
      2020/x-3/download/js/index-mobile-check.js
  2. 0 5
      2020/x-3/download/js/index.js

+ 1 - 1
2020/x-3/download/js/index-mobile-check.js

@ -1,3 +1,3 @@
1 1
if (browser.device == 'PC') {   // 若是来自pc页面,跳转pc页面
2
  location.href = "index-pc.html";
2
  location.href = "index.html";
3 3
}

+ 0 - 5
2020/x-3/download/js/index.js

@ -1,5 +0,0 @@
1
if (browser.device == 'PC') {
2
  location.href = "index-pc.html";
3
} else {
4
  location.href = "index-mobile.html";
5
}