src/components/RoomStatus/src/RoomStatus.vue
@@ -19,7 +19,6 @@ }) const onclick = async (item) => { console.error(item); item.onstage = !item.onstage; await RoomApi.updateRoom(item) } @@ -27,7 +26,7 @@ </script> <template> <el-card style="width: 180px" shadow="hover" > <el-card style="width: 200px" shadow="hover" > <template #header>{{title}}</template> <div v-for="(bedItem, index) in bedList" :key="index"> <img v-if="bedItem.onstage"