@@ -116,7 +116,16 @@
});
},
showShareModal(){
- this.$refs.popup.open();
+ if(getApp().globalData.user_phone){
+ this.$refs.popup.open();
+ }else {
+ uni.navigateTo({
+ url: '../auth/index',
+ success: res => {},
+ fail: () => {},
+ complete: () => {}
+ });
+ }
cancelModal(){
// 需要在 popup 组件,指定 ref 为 popup