up. 格式化代码
This commit is contained in:
parent
0247c8d713
commit
874d611efa
@ -40,7 +40,7 @@
|
|||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import { WsEvent, wsEventManager } from '@/plugins/websocket';
|
import { WsEvent, wsEventManager } from '@/plugins/websocket';
|
||||||
import { clientScreenUnlock } from '@/api/layout';
|
import { clientScreenUnlock } from '@/api/layout';
|
||||||
import { LockScreenStatus, useClientStore } from "@/store/modules/client";
|
import { LockScreenStatus, useClientStore } from '@/store/modules/client';
|
||||||
|
|
||||||
/** 设备状态管理器 */
|
/** 设备状态管理器 */
|
||||||
const clientStore = useClientStore();
|
const clientStore = useClientStore();
|
||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
clientScreenUnlock({ password: lockPassword.value })
|
clientScreenUnlock({ password: lockPassword.value })
|
||||||
.then(() => {
|
.then(() => {
|
||||||
clientStore.setLockScreen(LockScreenStatus.UNLOCK)
|
clientStore.setLockScreen(LockScreenStatus.UNLOCK);
|
||||||
lockPassword.value = ''; // 清空密码
|
lockPassword.value = ''; // 清空密码
|
||||||
})
|
})
|
||||||
.catch((message) => {
|
.catch((message) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user