|
@@ -82,6 +82,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters('user', ['isLogin']),
|
|
|
+ ...mapGetters('config', ['appConfig']),
|
|
|
...mapState({
|
|
|
content: (state) => state[ARTICLE_BIDDING_MODULE].mainModel.content,
|
|
|
summary: (state) => state[ARTICLE_BIDDING_MODULE].mainModel.summary,
|
|
@@ -114,10 +115,9 @@ export default {
|
|
|
console.log(res.target, res, this.$instance.router)
|
|
|
}
|
|
|
console.log(`${this.$instance.router.path}?id=${this.$instance.router.params.id}&form=share`)
|
|
|
- return {
|
|
|
- title: '我想让你看一下这几个项目',
|
|
|
+ return Object.assign({
|
|
|
path: `${this.$instance.router.path}?id=${this.$instance.router.params.id}&form=share`
|
|
|
- }
|
|
|
+ }, this.appConfig.shareInfo.detail)
|
|
|
},
|
|
|
created() {
|
|
|
this.$instance = Taro.getCurrentInstance()
|