//判断安卓和ios
            appSource() {
                const u = navigator.userAgent;
                const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
                if (isiOS) {
                    return "ios";
                } else {
                    return "android";
                }
            },

 

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-06
  • 2021-10-04
  • 2021-11-26
  • 2021-07-14
  • 2021-09-06
  • 2021-06-11
  • 2022-12-23
相关资源
相似解决方案