eight
2024-08-15 74f8739cec76f5e33a4eda32e259ac92ed9a8ef9
src/components/RoomStatus/src/RoomStatus.vue
@@ -9,7 +9,7 @@
const  props = defineProps({
  title: {
    type: Number,
    type: String,
    required: true
  },
  bedList: {
@@ -18,9 +18,9 @@
  }
})
const onclick = (item) => {
  console.error(item);
const onclick = async (item) => {
  item.onstage = !item.onstage;
  await RoomApi.updateRoom(item)
}
</script>