|
|
@@ -83,6 +83,9 @@ export default {
|
|
|
onShow(){
|
|
|
this.getConfig();
|
|
|
this.getBrowse();
|
|
|
+ uni.showModal({
|
|
|
+ content:req.getStorage('AUTH_TOKEN')
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
async onShareAppMessage() {
|
|
|
@@ -222,22 +225,25 @@ export default {
|
|
|
},
|
|
|
|
|
|
async toShare(){
|
|
|
- let shareD = await this.onShareMessage()
|
|
|
- h5util.jumpShare({
|
|
|
- title:shareD.title,
|
|
|
- imageUrl:shareD.imageUrl,
|
|
|
- path:shareD.path,
|
|
|
- shareType:1,
|
|
|
- id:this.detaile.id,
|
|
|
- sendBehaviorObj:{
|
|
|
- BIND_TYPE : this.BIND_TYPE,
|
|
|
- BIND_ID : this.BIND_ID,
|
|
|
- USER_ID : this.USER_ID,
|
|
|
- SHARE_USER_ID : this.SHARE_USER_ID,
|
|
|
- PARENT_CODE : this.PARENT_CODE,
|
|
|
- CURRENT_CODE : this.CURRENT_CODE
|
|
|
- }
|
|
|
- })
|
|
|
+ let islogin = await req.isAuthFn(true)
|
|
|
+ if(islogin){
|
|
|
+ let shareD = await this.onShareMessage()
|
|
|
+ h5util.jumpShare({
|
|
|
+ title:shareD.title,
|
|
|
+ imageUrl:shareD.imageUrl,
|
|
|
+ path:shareD.path,
|
|
|
+ shareType:1,
|
|
|
+ id:this.detaile.id,
|
|
|
+ sendBehaviorObj:{
|
|
|
+ BIND_TYPE : this.BIND_TYPE,
|
|
|
+ BIND_ID : this.BIND_ID,
|
|
|
+ USER_ID : this.USER_ID,
|
|
|
+ SHARE_USER_ID : this.SHARE_USER_ID,
|
|
|
+ PARENT_CODE : this.PARENT_CODE,
|
|
|
+ CURRENT_CODE : this.CURRENT_CODE
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
filters: {
|