|
@@ -144,6 +144,7 @@ export default {
|
|
|
this.getConfig();
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.setTreasureInfo();
|
|
|
setTimeout(() => {
|
|
|
this.checkInstall()
|
|
|
.then(() => {
|
|
@@ -156,7 +157,6 @@ export default {
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.isLoading = false;
|
|
|
- this.setTreasureInfo();
|
|
|
});
|
|
|
}, 1000);
|
|
|
this.checkBrowser();
|
|
@@ -279,7 +279,7 @@ export default {
|
|
|
let treasureInfo = {
|
|
|
createTime: Date.now(),
|
|
|
jump_type: 'treasure_info',
|
|
|
- postId: this.detail.srcContentId || '',
|
|
|
+ srcContentId: this.detail.srcContentId || '',
|
|
|
postNickName: this.detail.postUserInfo.nickName,
|
|
|
};
|
|
|
Cookies.set('jump_info', JSON.stringify(treasureInfo), { expires: 100 });
|