From bef3a652349b7b79c914afcc013d7229706a2b3b Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 09 六月 2023 09:10:32 +0800 Subject: [PATCH] Merge branch 'hotfix/修复苹果问题' --- uniapp/pages/goods/goodsDetail.vue | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/uniapp/pages/goods/goodsDetail.vue b/uniapp/pages/goods/goodsDetail.vue index 65d6aa6..c0ac99a 100644 --- a/uniapp/pages/goods/goodsDetail.vue +++ b/uniapp/pages/goods/goodsDetail.vue @@ -263,6 +263,7 @@ import pddEmpower from '../../components/pddempower.vue' import inviteCodeModel from '../../components/inviteCode.vue' import inviterModel from '../../components/inviterModel.vue' + export default { components: { empowerModel, @@ -305,6 +306,16 @@ if (this.memberId) { this.updataUser() } + + if(!getApp().globalData.hasinit) + { + console.log("鍒濆鍖�") + getApp().getAppInfo(); + } + if(!getApp().globalData.hasbcinit) + { + getApp().bcInit(); + } }, onLoad(options) { this.appinfo = utils.getCacheSync('appInfo') @@ -553,10 +564,12 @@ goodsId: this.optionsInfo.goodsId, type: 0 }).then(e => { + console.log(e) if (e.code != 0) return that.$alert(e.msg) var res = e.data.info; var tburl = res.shortUrl // #ifdef APP-PLUS + if (plus.runtime.isApplicationExist({ pname: 'com.taobao.taobao', action: 'taobao://' -- Gitblit v1.9.3