Browse Source

修改跳转移动端会出现问题

master
liaoxinyu 4 months ago
parent
commit
e62a6dc4d1
  1. 2
      src/index.html
  2. 2
      src/utils/consts.js

2
src/index.html

@ -22,7 +22,7 @@
for (var i = 0; i < mobileAgent.length; i++) { for (var i = 0; i < mobileAgent.length; i++) {
if (browser.indexOf(mobileAgent[i]) != -1) { if (browser.indexOf(mobileAgent[i]) != -1) {
//todo 手机版跳转 //todo 手机版跳转
window.location.href = 'https://app.globalsecu.com'; window.location.href = 'https://app.adktrader.com';
break; break;
} }
} }

2
src/utils/consts.js

@ -15,7 +15,7 @@ export default {
FAIL : 2, FAIL : 2,
} }
}, },
mobileUrl:'https://app.btcaholic.com', mobileUrl:'https://app.adktrader.com',
Server: { Server: {
Path: { Path: {
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`, // API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,

Loading…
Cancel
Save