From 117f901d85615dc38dc9cd172689dcea224fee02 Mon Sep 17 00:00:00 2001 From: Kaviilee Date: Sat, 26 Oct 2024 00:25:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Single.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Single.vue b/src/views/Single.vue index 5f2362ba..c75b8cee 100644 --- a/src/views/Single.vue +++ b/src/views/Single.vue @@ -227,9 +227,9 @@ export default { User.isLogin() && postHistory({ source_type: appKey, - source_id: this.id, + source_id: ~~this.id, link: location.href, - title: this.post.post_title, + title: this.post?.post_title, }); }) .then(() => {