src/store/modules/user.ts
@@ -44,9 +44,12 @@ roomId: null, roomName: null, bedNo: null, ip: null, status: null, docId: null, docName: null docName: null, checkTypes: null, opType: null } }), getters: { @@ -97,6 +100,8 @@ this.room!.status = room.status this.room!.docId = room.docId this.room!.docName = room.docName this.room!.checkTypes = room.checkTypes this.room!.opType = room.opType this.isSetRoom = true // 更新 cache @@ -166,9 +171,12 @@ roomId: 0, roomName: "", bedNo: "", ip: "", status: null, docId: null, docName: null docName: null, checkTypes: null, opType: null } } }