优惠券弹窗不关闭

This commit is contained in:
cmxdd 2020-08-11 10:45:10 +08:00
parent def8f0cf1b
commit 282502a8d6

View File

@ -285,7 +285,8 @@
nomore: '实在没有了'
},
showCoupon: false,
newMemberCoupon: {},
newMemberCoupon: {},
exchangestate:false
}
},
components: {
@ -294,15 +295,19 @@
indexad,
darenItem
},
onShow() {
onShow() {
// ,
if(this.exchangestate==true){
this.isNewmembervoucher()
}
this.articleList = [];
this.page = 0;
this.getArticlelist();
this.getSwiper();
},
onLoad(){
if(this.$store.state.hasLogin){
this.isNewmembervoucher();
if(this.$store.state.hasLogin){
this.exchangestate = true
const user = uni.getStorageSync('user_info');
console.log(user)
this.imService.login(user.member.member_id,user.member.member_nickname,user.member.member_avatar)