diff --git a/src/views/rooms.vue b/src/views/rooms.vue index 3112d24..f4b6a9c 100644 --- a/src/views/rooms.vue +++ b/src/views/rooms.vue @@ -120,10 +120,10 @@ export default { }); }, setShowCreateRoom(props, callback=()=>{}){ - this.createRoom = { + this.showCreateRoom = { props, callback:(res)=>{ - this.createRoom = {}; + this.showCreateRoom = {}; if (res) callback(res); } }