From f98ab75bf0f7fb54e7e3955a5f6e5a4935a86cbe Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 31 十月 2024 11:21:14 +0800
Subject: [PATCH] fix warning

---
 src/api/ecg/room/index.ts    |    4 ++--
 src/api/ecg/devrent/index.ts |    1 -
 src/store/modules/user.ts    |    6 +++++-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/api/ecg/devrent/index.ts b/src/api/ecg/devrent/index.ts
index fbe4019..6088315 100644
--- a/src/api/ecg/devrent/index.ts
+++ b/src/api/ecg/devrent/index.ts
@@ -1,5 +1,4 @@
 import request from '@/config/axios'
-import {RoomBedVO} from "@/api/ecg/doctor";
 
 // 瑁呮満鎷嗘満 VO
 export interface DevRentVO {
diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 870f954..e99915e 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -10,8 +10,8 @@
   status: number | null //寮�璇婄姸鎬�  0-鍏抽棴 1-鍏抽棴涓� 10-宸插紑閫� 20-鏈夊尰鐢� 30-鏆傚仠
   docId: number | null
   docName: string | null
-  checkTypes: number[]
-  opType: number
+  checkTypes: number[] | null
+  opType: number | null
 }
 
 export interface MonitorInfo {
diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index a857eb2..ed1f54e 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -44,6 +44,7 @@
       roomId: null,
       roomName: null,
       bedNo: null,
+      ip: null,
       status: null,
       docId: null,
       docName: null,
@@ -170,9 +171,12 @@
         roomId: 0,
         roomName: "",
         bedNo: "",
+        ip: "",
         status: null,
         docId: null,
-        docName: null
+        docName: null,
+        checkTypes: null,
+        opType: null
       }
     }
   }

--
Gitblit v1.9.3