From 5e9ec01a35ed456955fc517cca8b5201d72e5ac9 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期六, 03 六月 2023 17:41:50 +0800 Subject: [PATCH] no message --- uniapp/App.vue | 32 ++------------------------------ 1 files changed, 2 insertions(+), 30 deletions(-) diff --git a/uniapp/App.vue b/uniapp/App.vue index 360af37..a2558af 100644 --- a/uniapp/App.vue +++ b/uniapp/App.vue @@ -171,41 +171,13 @@ ...mapMutations(['login']), getAppInfo: function() { var that = this; - // #ifdef APP-PLUS - if (plus.os.name == 'iOS') { - if (that.globalData.appinfo.iosExamine && plus.runtime.version == e.data.basic.IosExamineV) { - that.globalData.ifwt = 0 - } else { - if (plus.runtime.isApplicationExist({ - action: 'weixin://' - }) && plus.runtime.isApplicationExist({ - action: 'taobao://' - })) { - that.globalData.ifwt = 1 //鏄惁瀹夎寰俊鍜屾窐瀹� 1浠h〃瀹夎 - } else { - that.globalData.ifwt = 0 - } - } - } else { - if (plus.runtime.isApplicationExist({pname:'com.tencent.mm', - action: 'weixin://' - })) { - console.log("瀹夊崜绔凡瀹夎寰俊") - that.globalData.ifwt = 1 //鏄惁瀹夎寰俊 1浠h〃瀹夎 - } else { - console.log("瀹夊崜绔湭瀹夎寰俊") - that.globalData.ifwt = 0 - } - } - // #endif - this.$u.api.comminInt({}).then(e => { if (e.code != 0) return that.$alert(e.msg) that.globalData.appinfo = e.data.basic 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 { @@ -229,7 +201,7 @@ console.log("瀹夊崜绔湭瀹夎寰俊") that.globalData.ifwt = 0 } - } */ + } // #endif }).catch(function(err) {}) -- Gitblit v1.9.3