Commit 559a46c5 authored by p-wanping.song's avatar p-wanping.song

Merge branch 'develop' of http://git.censoft.com.cn/rongtong/rongtong-app into dev-swp

parents 8c8ac4f7 b7f523af
...@@ -636,7 +636,7 @@ export default { ...@@ -636,7 +636,7 @@ export default {
y: this.layout.length + (this.colNum / 2 || 12), y: this.layout.length + (this.colNum / 2 || 12),
w: 2, w: 2,
h: 3, h: 3,
i: i, i:this.copyRoom.isCopy ? this.copyRoom.id : i,
id: this.copyRoom.isCopy ? this.copyRoom.id : i, id: this.copyRoom.isCopy ? this.copyRoom.id : i,
name: this.roomName, name: this.roomName,
c: "#e6e5e5", c: "#e6e5e5",
...@@ -660,6 +660,10 @@ export default { ...@@ -660,6 +660,10 @@ export default {
? "基础设施" ? "基础设施"
: "9999", : "9999",
}; };
if(this.copyRoom.isCopy){
data.id = this.copyRoom.id
}
this.layoutData.push(data); this.layoutData.push(data);
this.resetCopy(); this.resetCopy();
// postFun("/ledger/room/save", data) // postFun("/ledger/room/save", data)
......
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