zhaojs
2023-06-01 b1543219366ca21e0275b7ce9dcc81d01d1c481d
uniapp/App.vue
@@ -177,7 +177,7 @@
               utils.setCache('appInfo', e.data.basic)
               utils.setCache('baseUrl', this.$u.http.config.baseUrl)
               // #ifdef APP-PLUS
               if (plus.os.name == 'iOS') {
                if (plus.os.name == 'iOS') {
                  if (that.globalData.appinfo.iosExamine && plus.runtime.version == e.data.basic.IosExamineV) {
                     that.globalData.ifwt = 0
                  } else {
@@ -195,6 +195,7 @@
                  if (plus.runtime.isApplicationExist({pname:'com.tencent.mm',
                        action: 'weixin://'
                     })) {
                        console.log("安卓端已安装微信")
                     that.globalData.ifwt = 1 //是否安装微信 1代表安装
                  } else {
                     console.log("安卓端未安装微信")
@@ -203,7 +204,7 @@
               }
               // #endif
            }).catch(function(err) {})
         },
      },
   }