@@ -252,15 +252,15 @@
},
showShareModal(){
// 需要在 popup 组件,指定 ref 为 popup
- if(!this.isAuth){
+ if(getApp().globalData.user_phone){
+ this.$refs.popup.open();
+ }else {
uni.navigateTo({
url: '../auth/index',
success: res => {},
fail: () => {},
complete: () => {}
});
- }else {
- this.$refs.popup.open();
}
cancelModal(){
@@ -222,7 +222,7 @@ export default {
applyPower(){
let that = this;
- if(getApp().globalData.isAuth){
+ if(that.isAuthPhone){
if(that.userStatus === '点击申请'){
that.getUserIsApply()
}else{