Commit 4efd9f3d by yuzhenWang

合并分支1

parents fac6a46a 390791bf
......@@ -351,6 +351,11 @@
api.obtainToken().then(res=>{
if(res.success){
uni.setStorageSync('uni-token',res.data['token']);
// #ifdef H5
initJssdkShare(() => {
setWechatShare();
}, window.location.href);
// #endif
}
})
}
......@@ -360,11 +365,7 @@
},
onShow() {
this.checkToken();
// #ifdef H5
initJssdkShare(() => {
setWechatShare();
}, window.location.href);
// #endif
},
destroyed() {
uni.hideToast();
......
......@@ -352,13 +352,13 @@
'邀请加盟',
'pages/inviteJoin/inviteJoin'
)
setTimeout(()=>{
// #ifdef H5
initJssdkShare(() => {
setWechatShare();
}, window.location.href);
// #endif
},500)
// setTimeout(()=>{
// // #ifdef H5
// initJssdkShare(() => {
// setWechatShare();
// }, window.location.href);
// // #endif
// },500)
},
closeShare() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment