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