浏览代码

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

guohh 5 年之前
父节点
当前提交
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
}