This commit is contained in:
こぴなたみぽ 2018-02-26 18:32:24 +09:00
parent 37e5a9d06a
commit ad464c9f78

View File

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