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