|
|
@@ -73,10 +73,12 @@ export default {
|
|
|
that.weixinPay()
|
|
|
}else{
|
|
|
//没有miniOpenId补miniOpenId
|
|
|
+ uni.showLoading({mask:true})
|
|
|
uni.login({
|
|
|
provider: 'weixin',
|
|
|
success: res => {
|
|
|
postWxCode({ code: res.code }).then(subRes => {
|
|
|
+ uni.hideLoading()
|
|
|
if(subRes.data.currentMiniOpenId){
|
|
|
let thisMiniOpenId = subRes.data.currentMiniOpenId
|
|
|
uni.setStorageSync('currentMiniOpenId',thisMiniOpenId)
|