Commit 22254ba3 by cocomilk2012

update

parent 54cf91f2
Showing with 1 additions and 2 deletions
...@@ -257,8 +257,7 @@ export default { ...@@ -257,8 +257,7 @@ export default {
//TODO:安卓的单独判断 //TODO:安卓的单独判断
try { try {
const userAgent = navigator.userAgent.toLowerCase(); const userAgent = navigator.userAgent.toLowerCase();
let isAndroid = let isAndroid = userAgent.indexOf("android") > -1 || userAgent.indexOf("adr") > -1; //android终端
userAgent.indexOf("android") > -1 || u.indexOf("adr") > -1; //android终端
if (isAndroid) { if (isAndroid) {
console.log('android'); console.log('android');
let temp = userAgent.split("teammix/")[1]; let temp = userAgent.split("teammix/")[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment