mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
docs: 增加表单对比文档说明
This commit is contained in:
parent
dd884b96ba
commit
bf5844c72a
@ -366,6 +366,15 @@ export default defineConfig({
|
||||
link: '/form-config/relate.md',
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
text: '表单对比',
|
||||
items: [
|
||||
{
|
||||
text: '表单对比',
|
||||
link: '/form-config/compare.md',
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
7
docs/form-config/compare.md
Normal file
7
docs/form-config/compare.md
Normal file
@ -0,0 +1,7 @@
|
||||
# 表单对比
|
||||
tmagic-form可以支持两个版本的表单值对比,如果有容器嵌套,将在tab标签页展示对应tab下存在的差异数,便于在复杂嵌套表单场景下直观的看到差异情况
|
||||
## 使用方法
|
||||
在初始化表单时,需要传入当前版本的表单值,上一版本的表单值,以及表单配置,具体可参见[Form Playground](https://tencent.github.io/tmagic-editor/playground/index.html#/form)的demo演示
|
||||
## 效果展示
|
||||
<img src="https://vip.image.video.qpic.cn/vupload/20230301/c626071677661813135.png" alt="表单对比"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user