修改弹出窗口问题

This commit is contained in:
daihh
2022-11-04 00:19:59 +08:00
parent b93812c7a0
commit eafce63e74

View File

@@ -686,7 +686,13 @@
if(!res.result){ if(!res.result){
this.$refs.guide.show(); this.$refs.guide.show();
}else{ }else{
if(this.userHobby.needShow){ this.$refs.userCollection.show();} if(this.userHobby.needShow){
this.$refs.userCollection.show();
}else{
if(this.needLoginMedal){
this.showLoginMedal=true;
}
}
} }
localStorage.setItem('user-guide-'+this.userInfo.aid,1); localStorage.setItem('user-guide-'+this.userInfo.aid,1);
}else{ }else{
@@ -696,7 +702,13 @@
} }
}); });
}else { }else {
if(this.userHobby.needShow){ this.$refs.userCollection.show();} if(this.userHobby.needShow){
this.$refs.userCollection.show();
}else{
if(this.needLoginMedal){
this.showLoginMedal=true;
}
}
} }
//测试情况下 //测试情况下