up. 格式化代码
This commit is contained in:
parent
0247c8d713
commit
874d611efa
@ -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();
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
clientScreenUnlock({ password: lockPassword.value })
|
||||
.then(() => {
|
||||
clientStore.setLockScreen(LockScreenStatus.UNLOCK)
|
||||
clientStore.setLockScreen(LockScreenStatus.UNLOCK);
|
||||
lockPassword.value = ''; // 清空密码
|
||||
})
|
||||
.catch((message) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user