fix: restore lockscreen timeout to 72 hours
This commit is contained in:
@@ -2,8 +2,8 @@ import { defineStore } from 'pinia';
|
|||||||
import { IS_LOCKSCREEN } from '@/store/mutation-types';
|
import { IS_LOCKSCREEN } from '@/store/mutation-types';
|
||||||
import { storage } from '@/utils/Storage';
|
import { storage } from '@/utils/Storage';
|
||||||
|
|
||||||
// 长时间不操作默认锁屏时间
|
// 长时间不操作默认锁屏时间,单位:秒
|
||||||
const initTime = 60 * 60;
|
const initTime = 72 * 60 * 60;
|
||||||
|
|
||||||
const isLock = storage.get(IS_LOCKSCREEN, false);
|
const isLock = storage.get(IS_LOCKSCREEN, false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user