|
@@ -134,7 +134,11 @@ export default defineComponent({
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
- this.shareUrl = `${location.origin}/teacher#/shareVip?recomUserId=${this.userInfo.id}&activityId=${res.data.activityId}&userType=${state.platformType}`
|
|
|
|
|
|
+ this.shareUrl = `${location.origin}/teacher#/shareVip?recomUserId=${this.userInfo.id}&userType=${state.platformType}`
|
|
|
|
+ // 判断是否有我分享的编号
|
|
|
|
+ if (res.data && res.data.activityId) {
|
|
|
|
+ this.shareUrl = this.shareUrl + '&activityId=' + res.data.activityId
|
|
|
|
+ }
|
|
this.shareStatus = true
|
|
this.shareStatus = true
|
|
this.shareDiscount = res.data.discount || 0
|
|
this.shareDiscount = res.data.discount || 0
|
|
// let url =
|
|
// let url =
|