Commit 54cf91f2 by cocomilk2012

update

parent c9b825b5
Showing with 2 additions and 0 deletions
...@@ -260,6 +260,7 @@ export default { ...@@ -260,6 +260,7 @@ export default {
let isAndroid = let isAndroid =
userAgent.indexOf("android") > -1 || u.indexOf("adr") > -1; //android终端 userAgent.indexOf("android") > -1 || u.indexOf("adr") > -1; //android终端
if (isAndroid) { if (isAndroid) {
console.log('android');
let temp = userAgent.split("teammix/")[1]; let temp = userAgent.split("teammix/")[1];
let version = temp.split("(android")[0]; let version = temp.split("(android")[0];
...@@ -270,6 +271,7 @@ export default { ...@@ -270,6 +271,7 @@ export default {
this.toPay_new(); this.toPay_new();
} }
} else if (userAgent.indexOf("qqxbua") != -1) { } else if (userAgent.indexOf("qqxbua") != -1) {
console.log('ios');
let tempArr = userAgent.split("qqxbua:"); let tempArr = userAgent.split("qqxbua:");
if (tempArr.length > 1) { if (tempArr.length > 1) {
const tempStr = tempArr[1]; const tempStr = tempArr[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