From 348e6bcdc7fa566a48b96dea53d24ec6dda49e1d Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 18:06:40 +0800
Subject: [PATCH] update

---
 src/api/ecg/room/index.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 6e527b9..d78f8a1 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -36,7 +36,7 @@
 
   // 鏌ヨ璇婂鍜岃瘖鐤楀簥璇︽儏
   getRoomByIP: async (roomId :number) => {
-    if (!roomId || roomId === 0) {
+    if (roomId == null || roomId === 0) {
       return await request.get({url: `/clinic/room/get-room-by-ip`})
     }
 

--
Gitblit v1.9.3