Skip to content

Commit

Permalink
🐛 修复分享图元素选取异常
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Nov 15, 2024
1 parent afe53f3 commit 10a5b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/t-post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ onMounted(async () => {
shareTimeTimer.value = undefined;
}
shareTimeTimer.value = setInterval(() => (shareTime.value = Math.floor(Date.now() / 1000)), 1000);
postRef.value = <HTMLElement>document.querySelector(".tp-post-title");
postRef.value = <HTMLElement>document.querySelector(".tp-post-body");
loading.value = false;
});
Expand Down

0 comments on commit 10a5b88

Please sign in to comment.