//判断安卓和ios appSource() { const u = navigator.userAgent; const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); if (isiOS) { return "ios"; } else { return "android"; } },
Vue中在移动端如何判断设备是安卓还是ios
原文:https://www.cnblogs.com/ximenchuifa/p/14657119.html