fix: 锁屏重启判断

This commit is contained in:
TsMask
2024-01-18 12:58:07 +08:00
parent b485e14ff4
commit fbdf9f0a41
2 changed files with 2 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ function backLogin() {
const isLocked = computed(() => lockedStore.type !== 'none');
onMounted(() => {
debugger
console.log(lockedStore.type);
// 本地锁定类型设置
lockedStore.fnLock(lockedStore.type);

View File

@@ -21,6 +21,7 @@ const useLockedStore = defineStore('locked', {
actions: {
// 重启等待-轮询
async relaodWait() {
debugger
try {
const res = await getSysConf();
if (res.code === RESULT_CODE_SUCCESS && res.data) {