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/components/empowerModel.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/uniapp/components/empowerModel.vue b/uniapp/components/empowerModel.vue index 1a75cfd..1e06b80 100644 --- a/uniapp/components/empowerModel.vue +++ b/uniapp/components/empowerModel.vue @@ -34,12 +34,24 @@ }, created() { this.applogo = getApp().globalData.appinfo.logo + if(!getApp().globalData.hasbcinit) + { + getApp().bcInit(); + } + /* console.log(uni.getSystemInfoSync().platform); + if (uni.getSystemInfoSync().platform == 'ios') { + plug.init({}, result => { + console.log(result) + }); + } */ }, methods: { confirm() { + console.log(getApp().globalData.appinfo); console.log(plug); plug.login({}, result => { + console.log(result); var nick = result.userinfo.nick if (result.code == 0) { plug.taobaoOauth({ -- Gitblit v1.9.3