src/store/bedsideAuxiliaryScreen.ts
@@ -15,6 +15,7 @@ import { ElMessage } from "element-plus/es"; import { Local } from "@/utils/storage"; import type { DeviceLoginRecord } from './type/user.type'; import { logOutApi } from "@/api/user"; export const useBedsideAuxiliaryScreenStore = defineStore( "bedsideAuxiliaryScreen", @@ -81,8 +82,9 @@ /** 退出登录 */ const logout = () => { const logout = async (deviceCodeStr: string) => { await logOutApi(deviceCodeStr); setUserInfo(null); }; // SSE 相关状态