Commit 5ea3a80a authored by 罗剑's avatar 罗剑

fix: 提交Xform数据结构调整

parent af7d098f
......@@ -138,7 +138,11 @@ const IDCard = (props) => {
};
useEffect(() => {
onChange(JSON.stringify(cardInfo));
let obj ={};
showField.map((item,i)=>{
obj[showField[i]]=cardInfo[item];
});
onChange(JSON.stringify(obj));
}, [cardInfo]);
const elemet = () => {
......
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