|
@@ -153,7 +153,7 @@ export default {
|
|
|
return {
|
|
|
detail: data.data,
|
|
|
pageLink,
|
|
|
- headers: JSON.stringify(req),
|
|
|
+ headers: JSON.stringify(req.headers),
|
|
|
};
|
|
|
}
|
|
|
},
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
this.getConfig();
|
|
|
},
|
|
|
mounted() {
|
|
|
- console.log('headers', this.headers);
|
|
|
+ console.log('headers', JSON.parse(this.headers));
|
|
|
this.setCookieMid();
|
|
|
Cookies.set(this.detail.postId, JSON.stringify({ inviteCode: this.$route.params.id, channel: this.$route.params.channel }), { expires: 100 });
|
|
|
this.setTreasureInfo();
|