Commit 0089c776 by 侯体倬

页面装修数据重复问题

parent 64c2ad1e
...@@ -645,7 +645,15 @@ export default { ...@@ -645,7 +645,15 @@ export default {
}); });
}); });
}, },
updateCondition(pageData, ids) { updateCondition(payload, ids) {
// 防止页面装修数据重复问题(不确定)
let pageData;
try {
pageData = JSON.parse(JSON.stringify(payload));
} catch(err) {
pageData = payload;
}
pageData.forEach((item) => { pageData.forEach((item) => {
pollCondition(item); pollCondition(item);
}); });
......
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