小程序授权登录回复正常

This commit is contained in:
stivepeim
2021-05-07 18:31:36 +08:00
parent 0f6fe1eb6b
commit feb86579ab
85 changed files with 524 additions and 600 deletions

View File

@@ -214,7 +214,7 @@
<image src="/static/images/share-info.png" @click="H5ShareBox = false"></image>
</view>
<!-- #ifdef MP -->
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<!-- #endif -->
<home></home>
<product-window :attr='attribute' :limitNum='1' @myevent="onMyEvent" @ChangeAttr="ChangeAttr" @ChangeCartNum="ChangeCartNum"
@@ -422,7 +422,13 @@
uni.setStorageSync('comGoodsId', options.id);
} catch (e) {}
// #endif
// #ifdef H5 || APP-PLUS
toLogin();
// #endif
// #ifdef MP
this.isAuto = true;
this.$set(this, 'isShowAuth', true);
// #endif
}
} else {
try {