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) {