mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-23 06:27:20 +08:00
【优化】首页增加watch方法,监测登录状态,防止出现首次登录后未更新分享地址,增加邀请码的问题。
This commit is contained in:
@@ -181,6 +181,13 @@
|
|||||||
this.initData();
|
this.initData();
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
hasLogin() {
|
||||||
|
if (this.hasLogin == true && this.shareUrl.indexOf('-0-') != -1) {
|
||||||
|
this.getShareUrl();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
//分享
|
//分享
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user