Commit b895689e authored by 田翔's avatar 田翔

fix: 补充分组标题说明

parent d303a77b
{
"name": "panda-xform",
"version": "6.10.15",
"description": "6.10.15 表单设计器图标样式优化",
"version": "6.10.17",
"description": "6.10.17 补充分组标题说明",
"keywords": [
"panda-xform"
],
......
......@@ -4,6 +4,29 @@ import styles from './index.less'
import { CaretUpOutlined, CaretDownOutlined } from '@ant-design/icons';
const options = [
{
title: '布局控件',
child: [
{
title: '分组标题',
height: 92,
descriptions: (
<div>
<div>将表单信息内容进行分组展示,使表单的界面展示更为实用和美观</div>
</div>
)
},
{
title: '描述',
height: 114,
descriptions: (
<div>
<div>用于表单中注释或提醒的描述,描述说明可以修改显示内容字体字号等设置,以及对齐方式,并支持背景色的设置</div>
</div>
)
},
]
},
{
title: '基础控件',
child: [
......
......@@ -15,7 +15,7 @@ import Help from './Help'
const options = [
{
title: '布局控件',
one: '',
one: '分组标题',
background: '#F8F7FF',
},
{
......@@ -382,6 +382,7 @@ const FormDesigner = (props, ref) => {
const addHelp = () => {
let eles = document.querySelectorAll('.left-layout .f6')
console.log('eles', eles)
eles.forEach((v, i) => {
let div = document.createElement('div')
div.setAttribute('class', 'iocn-help')
......@@ -411,7 +412,7 @@ const FormDesigner = (props, ref) => {
useEffect(() => {
setTimeout(() => {
changeElement()
}, 1000)
}, 1500)
}, [])
return (
......
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