小程序授权登录回复正常

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

@@ -175,7 +175,7 @@
</view>
<!-- <coupon-window :window='window' :couponList="couponList" @onColse="onColse"></coupon-window> -->
<!-- #ifdef MP -->
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse" :isGoIndex="false"></authorize> -->
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse" :isGoIndex="false"></authorize>
<!-- #endif -->
</view>
</template>
@@ -706,7 +706,13 @@
// 首发新品详情
goDetail(item) {
if (item.activityH5 && item.activityH5.type === "2" && !this.isLogin) {
// #ifdef H5 || APP-PLUS
toLogin();
// #endif
// #ifdef MP
this.isAuto = true;
this.$set(this, 'isShowAuth', true);
// #endif
// // #ifdef H5
// uni.showModal({
// title: '提示',