小程序授权登录回复正常

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

@@ -198,7 +198,7 @@
<view class="mask" v-if="posters" @click="closePosters"></view>
<view class="mask" v-if="canvasStatus" @click="listenerActionClose"></view>
<!-- #ifdef MP -->
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<!-- #endif -->
<!-- 海报展示 -->
<view class='poster-pop' v-if="canvasStatus">
@@ -904,7 +904,13 @@
*/
setCollect: function() {
let that = this;
if (this.isLogin === false) {
if (this.isLogin === false) {
// #ifdef H5 || APP-PLUS
toLogin();
// #endif
// #ifdef MP
this.isAuto = true;
this.$set(this, 'isShowAuth', true);
// #endif
} else {
if (this.storeInfo.userCollect) {