|
@@ -145,11 +145,12 @@ export default {
|
|
|
this.getConfig();
|
|
|
},
|
|
|
mounted() {
|
|
|
+ Cookies.set(this.detail.postId, JSON.stringify({ inviteCode: this.$route.params.id }), { expires: 100 });
|
|
|
setTimeout(() => {
|
|
|
this.checkInstall()
|
|
|
.then(() => {
|
|
|
- if (this.detail.srcContentId && this.detail.inviteUserInfo && this.detail.inviteUserInfo.postNickName) {
|
|
|
- let url = `https://twitter.com/${this.detail.inviteUserInfo.postNickName}/status/${this.detail.srcContentId}`;
|
|
|
+ if (this.detail.srcContentId && this.detail.postUserInfo && this.detail.postUserInfo.postNickName) {
|
|
|
+ let url = `https://twitter.com/${this.detail.postUserInfo.postNickName}/status/${this.detail.srcContentId}`;
|
|
|
window.open(url);
|
|
|
}
|
|
|
})
|
|
@@ -279,7 +280,7 @@ export default {
|
|
|
createTime: Date.now(),
|
|
|
jump_type: 'treasure_info',
|
|
|
srcContentId: this.detail.srcContentId || '',
|
|
|
- postNickName: this.detail.inviteUserInfo.nickName,
|
|
|
+ postNickName: this.detail.postUserInfo.nickName,
|
|
|
};
|
|
|
Cookies.set('jump_info', JSON.stringify(treasureInfo), { expires: 100 });
|
|
|
},
|