Commit f2e1e706 by 侯体倬 Committed by 李嘉林

页面装修数据重复问题

parent a1c3cbc2
......@@ -767,7 +767,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) => {
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