From fbdf9f0a41a975067ebfc0931bf73f4be2d26be6 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 18 Jan 2024 12:58:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=81=E5=B1=8F=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LockScreen/index.vue | 1 + src/store/modules/locked.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/LockScreen/index.vue b/src/components/LockScreen/index.vue index 5cea9fa9..57c6017e 100644 --- a/src/components/LockScreen/index.vue +++ b/src/components/LockScreen/index.vue @@ -53,6 +53,7 @@ function backLogin() { const isLocked = computed(() => lockedStore.type !== 'none'); onMounted(() => { + debugger console.log(lockedStore.type); // 本地锁定类型设置 lockedStore.fnLock(lockedStore.type); diff --git a/src/store/modules/locked.ts b/src/store/modules/locked.ts index c13f7493..71eb9688 100644 --- a/src/store/modules/locked.ts +++ b/src/store/modules/locked.ts @@ -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) {