From f7142a51832d12ea27f4bb9be0c6eda86fbfb1bc Mon Sep 17 00:00:00 2001 From: Shao Huan Qing Date: Sun, 12 Sep 2021 20:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vuepress/components/StarGazer.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vuepress/components/StarGazer.vue b/.vuepress/components/StarGazer.vue index f04054b..1ec9656 100644 --- a/.vuepress/components/StarGazer.vue +++ b/.vuepress/components/StarGazer.vue @@ -14,7 +14,7 @@ 一个 Github Star - 是您对 Kuboard 最大的鼓励 + 激励 Kuboard 继续前行。
@@ -54,6 +54,10 @@ export default { }, methods: { checkDuration() { + if (localStorage.getItem('stared') === 'true') { + console.log('已经去过 GITHUB') + return + } let firstAccess = localStorage.getItem('FIRST_ACCESS') // console.log(new Date(), new Date(firstAccess)) if (!firstAccess) {