eight
2024-08-15 41004049209c22a9d029a992c7b84ccfc8dd36cc
src/components/RoomStatus/src/RoomStatus.vue
@@ -18,15 +18,15 @@
  }
})
const onclick = (item) => {
  console.error(item);
const onclick = async (item) => {
  item.onstage = !item.onstage;
  await RoomApi.updateRoom(item)
}
</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"