form-builder icon indicating copy to clipboard operation
form-builder copied to clipboard

自动生成表单如何生成三级联动地址表单

Open junePu opened this issue 5 years ago • 1 comments

junePu avatar Jun 05 '20 01:06 junePu

三级联动组件的 data 数据结构是这样

[
[
'value' => '北京市',
'label' => '北京市',
'children' => [
[
'value' => '东城区',
'label' => '东城区',
],
],
],
[
'value' => '西安市',
'label' => '西安市',
'children' => [
[
'value' => '高新区',
'label' => '高新区',
],
],
],
]

xaboy avatar Jun 05 '20 02:06 xaboy