update post/post.vue

This commit is contained in:
linfeng 2023-07-31 10:13:06 +08:00
parent 5c6f8fd293
commit d5bfde238e

View File

@ -221,7 +221,7 @@
imgURL = this.postDetail.media[0]; imgURL = this.postDetail.media[0];
} }
return { return {
title: this.postDetail.content, title: this.postDetail.title,
path: '/pages/post/post?id=' + this.postId, path: '/pages/post/post?id=' + this.postId,
imageUrl: imgURL imageUrl: imgURL
}; };
@ -229,7 +229,7 @@
onShareTimeline() { onShareTimeline() {
let imgURL = (imgURL = this.postDetail.media[0]); let imgURL = (imgURL = this.postDetail.media[0]);
return { return {
title: this.postDetail.content, title: this.postDetail.title,
imageUrl: imgURL, imageUrl: imgURL,
query: 'id=' + this.postId query: 'id=' + this.postId
}; };