Commit 6d790157 by YG8999

管理系统房间添加上下架功能

parent 57ebed76
...@@ -522,7 +522,7 @@ export default { ...@@ -522,7 +522,7 @@ export default {
} }
getRoom(id).then(response => { getRoom(id).then(response => {
this.form = response.data; this.form = response.data;
this.form.status = response.data.status.toString(); this.form.roomStat = response.data.roomStat ? response.data.roomStat.toString() : '1';
if(this.form.facilities){ if(this.form.facilities){
this.facilities = this.form.facilities.split(",") this.facilities = this.form.facilities.split(",")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment