Commit 83f88930 authored by 田翔's avatar 田翔

fix: 逻辑调整

parent ee8b135c
{
"name": "panda-xform",
"version": "2.2.5",
"description": "2.2.5: 防止报错",
"version": "2.2.6",
"description": "2.2.6: 逻辑调整",
"keywords": [
"panda-xform"
],
......
......@@ -74,7 +74,7 @@ const XRender = (props, ref) => {
let { data, errors } = await form.submit()
let formValue = []
Object.keys(data).map((k) => {
if (isObject(data[k]) && ['relationForm'].includes(k)) {
if (isObject(data[k]) && !['relationForm'].includes(k)) {
Object.keys(data[k]).map((key) => {
formValue.push({ fieldName: key, fieldValue: data[k][key] + '' })
})
......
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