This commit is contained in:
こぴなたみぽ 2018-02-26 18:31:55 +09:00
parent 1c1976f575
commit 37e5a9d06a
5 changed files with 9 additions and 5 deletions

View file

@ -56,6 +56,7 @@ export default Vue.extend({
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
const isHisasiburi = ago >= 3600;
(this as any).os.i.last_used_at = new Date();
if (isHisasiburi) {
(this.$refs.welcomeback as any).style.display = 'block';
(this.$refs.main as any).style.overflow = 'hidden';