From 874d611efa535a7af4786e9bca7efcd98d81c041 Mon Sep 17 00:00:00 2001 From: v Date: Fri, 29 Aug 2025 19:50:31 +0800 Subject: [PATCH] =?UTF-8?q?up.=20=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- z_ele/src/components/LockScreenState/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/z_ele/src/components/LockScreenState/index.vue b/z_ele/src/components/LockScreenState/index.vue index 0627060..2f8a226 100644 --- a/z_ele/src/components/LockScreenState/index.vue +++ b/z_ele/src/components/LockScreenState/index.vue @@ -40,7 +40,7 @@ import { ref } from 'vue'; import { WsEvent, wsEventManager } from '@/plugins/websocket'; import { clientScreenUnlock } from '@/api/layout'; - import { LockScreenStatus, useClientStore } from "@/store/modules/client"; + import { LockScreenStatus, useClientStore } from '@/store/modules/client'; /** 设备状态管理器 */ const clientStore = useClientStore(); @@ -50,14 +50,14 @@ const unlockLoading = ref(false); /** 确定解锁 */ const confirmUnlock = () => { - if(unlockLoading.value){ + if (unlockLoading.value) { return; } unlockLoading.value = true; clientScreenUnlock({ password: lockPassword.value }) .then(() => { - clientStore.setLockScreen(LockScreenStatus.UNLOCK) + clientStore.setLockScreen(LockScreenStatus.UNLOCK); lockPassword.value = ''; // 清空密码 }) .catch((message) => {