|
@ -150,7 +150,7 @@ |
|
|
computed: { |
|
|
computed: { |
|
|
...mapState(['userInfo']), |
|
|
...mapState(['userInfo']), |
|
|
userId() { |
|
|
userId() { |
|
|
return this.form.userId || this.userInfo?.intentionCode |
|
|
|
|
|
|
|
|
return this.userInfo?.intentionCode |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
@ -178,12 +178,13 @@ |
|
|
imageUrl: headImage, |
|
|
imageUrl: headImage, |
|
|
path: `/pages_order/sharing/article?id=${this.id}&state=3&shareId=${this.userInfo.id}` |
|
|
path: `/pages_order/sharing/article?id=${this.id}&state=3&shareId=${this.userInfo.id}` |
|
|
} |
|
|
} |
|
|
//调用增加分享次数的方法 |
|
|
|
|
|
const params = { |
|
|
|
|
|
id:this.id, |
|
|
|
|
|
state:"3", |
|
|
|
|
|
} |
|
|
|
|
|
this.$fetch('addLogShareInfo', params) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//调用增加分享次数的方法 |
|
|
|
|
|
const params = { |
|
|
|
|
|
id:this.id, |
|
|
|
|
|
state:"3", |
|
|
|
|
|
} |
|
|
|
|
|
this.$fetch('addLogShareInfo', params) |
|
|
// todo: get times and check is unlocked |
|
|
// todo: get times and check is unlocked |
|
|
|
|
|
|
|
|
this.isLocked = false |
|
|
this.isLocked = false |
|
@ -333,7 +334,6 @@ |
|
|
} = this.form |
|
|
} = this.form |
|
|
|
|
|
|
|
|
const params = { |
|
|
const params = { |
|
|
id: this.id, |
|
|
|
|
|
userId: this.userId, |
|
|
userId: this.userId, |
|
|
headImage, |
|
|
headImage, |
|
|
headTitle, |
|
|
headTitle, |
|
|