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>