|
@@ -89,7 +89,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
name: 'twitter:title',
|
|
|
- content: this.metaTitle
|
|
|
+ content: this.detail.postBizData.linkTitle || this.metaTitle
|
|
|
},
|
|
|
{
|
|
|
name: 'twitter:image',
|
|
@@ -134,21 +134,21 @@ export default {
|
|
|
this.copy_link = window.location.href
|
|
|
this.device = getBrowserType()
|
|
|
this.getConfig()
|
|
|
- console.log('device',this.device)
|
|
|
- if(this.device == 'chrome'){
|
|
|
+ console.log('device', this.device)
|
|
|
+ if (this.device == 'chrome') {
|
|
|
this.setCookie()
|
|
|
}
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- setCookie(){
|
|
|
+ setCookie() {
|
|
|
let pickupInfo = {
|
|
|
- srcContentId: this.detail.srcContentId || '',
|
|
|
- postNickName: this.detail.srcUserId || '',
|
|
|
+ srcContentId: this.detail.srcContentId || '',
|
|
|
+ postNickName: this.detail.srcUserId || '',
|
|
|
createTime: Date.now(),
|
|
|
jump_type: 'jump_info',
|
|
|
- };
|
|
|
- Cookies.set('jump_info', JSON.stringify(pickupInfo), { expires: 1000 });
|
|
|
+ };
|
|
|
+ Cookies.set('jump_info', JSON.stringify(pickupInfo), { expires: 1000 });
|
|
|
},
|
|
|
async getConfig() {
|
|
|
let { data } = await axios.post(`${baseURL}/denet/base/config/getFrontConfig`, {
|