Commit 86a5597d authored by 彭俊龙's avatar 彭俊龙

判断非空

parent 87dc9809
......@@ -50,8 +50,10 @@ const XRender = (props, ref) => {
let parentDatas = keys.map(k=> parent[k].properties)
let fieldDatas = {};
parentDatas.forEach(k=>{
if(k){
let ks = Object.keys(k)
ks.map(x=> fieldDatas[x] =k[x])
}
})
let parentObj = {}
let array = []
......
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