Commit fe1d9779 authored by 杨帆's avatar 杨帆

Dev yf'

parent 54742ebf
...@@ -375,7 +375,7 @@ export default { ...@@ -375,7 +375,7 @@ export default {
// console.log('this.layout==>>',this.layout) // console.log('this.layout==>>',this.layout)
}, },
//关闭 //关闭
close() { async close() {
this.layoutData.forEach(item => { this.layoutData.forEach(item => {
if ( if (
typeof item.position == "object" && typeof item.position == "object" &&
...@@ -391,7 +391,9 @@ export default { ...@@ -391,7 +391,9 @@ export default {
}) })
.then(() => { .then(() => {
this.confim(); this.confim();
history.go(-1); setTimeout(() => {
history.go(-1);
}, 500);
// on confirm // on confirm
}) })
.catch(() => { .catch(() => {
...@@ -425,7 +427,7 @@ export default { ...@@ -425,7 +427,7 @@ export default {
item.position = JSON.stringify(item.position); item.position = JSON.stringify(item.position);
} }
}); });
console.log("data==>>", data); console.log("this.$route.params.floorId==>>", this.$route.params.floorId);
postFun( postFun(
"/ledger/room/update/batch?floorId=" + this.$route.params.floorId, "/ledger/room/update/batch?floorId=" + this.$route.params.floorId,
data 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