🐛 修复分享图元素选取异常

This commit is contained in:
目棃
2024-11-15 12:34:37 +08:00
parent afe53f3d30
commit 10a5b88d24

View File

@@ -188,7 +188,7 @@ onMounted(async () => {
shareTimeTimer.value = undefined; shareTimeTimer.value = undefined;
} }
shareTimeTimer.value = setInterval(() => (shareTime.value = Math.floor(Date.now() / 1000)), 1000); 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; loading.value = false;
}); });