Commit c9ff2ccc authored by 田翔's avatar 田翔

fix: 提交

parent d0ff264d
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.1.4", "version": "2.1.5",
"description": "2.1.4: 样式调整", "description": "2.1.5: 样式i修改",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -25,7 +25,6 @@ const XRender = (props, ref) => { ...@@ -25,7 +25,6 @@ const XRender = (props, ref) => {
const schemaForm = useMemo(() => { const schemaForm = useMemo(() => {
let schemaForm = schema ? (isObject(schema) ? schema : JSON.parse(schema)) : {} let schemaForm = schema ? (isObject(schema) ? schema : JSON.parse(schema)) : {}
console.log(schemaForm, schema)
if (Array.isArray(values)) { if (Array.isArray(values)) {
let parent = schemaForm?.properties let parent = schemaForm?.properties
let parentObj = {} let parentObj = {}
......
...@@ -13,7 +13,7 @@ const Header = (props) => { ...@@ -13,7 +13,7 @@ const Header = (props) => {
<div> <div>
<div <div
className={`${prefixCls}-title`} className={`${prefixCls}-title`}
style={{ justifyContent: 'left' }} style={{ justifyContent: 'left', paddingLeft: '10px' }}
> >
{title ? <i className={`${prefixCls}-bg`}></i> : null} {title ? <i className={`${prefixCls}-bg`}></i> : null}
{title} {title}
......
...@@ -13,6 +13,7 @@ body #app { ...@@ -13,6 +13,7 @@ body #app {
@pandaXform-prefix-cls: ~'@{ant-prefix}-pandaXform'; @pandaXform-prefix-cls: ~'@{ant-prefix}-pandaXform';
.@{pandaXform-prefix-cls} { .@{pandaXform-prefix-cls} {
background: white; background: white;
padding: 10px 0;
.fr-generator-container .left-layout { .fr-generator-container .left-layout {
.left-item { .left-item {
.anticon { .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