Commit 54b0a96b authored by 涂伟's avatar 涂伟

fix: '表设计一键布局功能添加'

parent 3aa7902a
......@@ -122,7 +122,7 @@
"js-calendar-converter": "0.0.4",
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "^2.9.4",
"panda-xform": "^3.0.0",
"prop-types": "15.7.2",
"quill": "^1.3.7",
"rc-tween-one": "^3.0.6",
......
......@@ -27,6 +27,7 @@ import {
EyeOutlined,
ArrowLeftOutlined,
UploadOutlined,
SnippetsOutlined,
} from '@ant-design/icons';
import {
reloadTableFields,
......@@ -487,11 +488,20 @@ const AddModal = props => {
</TreeSelect>
</div> */}
<div className={styles.btn}>
<Button
type="primary"
icon={<SnippetsOutlined />}
ghost
onClick={() => formRef.current.initLayout()}
>
一键布局
</Button>
<Button
type="primary"
// icon={<PlusSquareOutlined />}
ghost
onClick={() => formRef.current.clear()}
style={{ marginLeft: '10px' }}
>
<img src={clearSvg} style={{ marginRight: '6px' }} alt="" />
清空
......
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