Commit d0ff264d authored by 田翔's avatar 田翔

fix: 样式调整

parent 402ba948
{
"name": "panda-xform",
"version": "2.1.3",
"description": "2.1.3: 简化修改",
"version": "2.1.4",
"description": "2.1.4: 样式调整",
"keywords": [
"panda-xform"
],
......
......@@ -25,6 +25,7 @@ const XRender = (props, ref) => {
const schemaForm = useMemo(() => {
let schemaForm = schema ? (isObject(schema) ? schema : JSON.parse(schema)) : {}
console.log(schemaForm, schema)
if (Array.isArray(values)) {
let parent = schemaForm?.properties
let parentObj = {}
......@@ -48,7 +49,7 @@ const XRender = (props, ref) => {
}
}
}
return { ...schema, properties: parentObj }
return { ...schemaForm, properties: parentObj }
}
return schemaForm
}, [schema, values])
......
......@@ -12,6 +12,7 @@ body #app {
@pandaXform-prefix-cls: ~'@{ant-prefix}-pandaXform';
.@{pandaXform-prefix-cls} {
background: white;
.fr-generator-container .left-layout {
.left-item {
.anticon {
......
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