Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
junePu opened this issue Jun 5, 2020 · 1 comment
Open

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

junePu opened this issue Jun 5, 2020 · 1 comment

Comments

@junePu
Copy link

junePu commented Jun 5, 2020

No description provided.

@xaboy
Copy link
Owner

xaboy commented Jun 5, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants