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

怎么修改各级选择之后的连接符? #43

Open
BuTingBa opened this issue Jan 2, 2020 · 1 comment
Open

怎么修改各级选择之后的连接符? #43

BuTingBa opened this issue Jan 2, 2020 · 1 comment

Comments

@BuTingBa
Copy link

BuTingBa commented Jan 2, 2020

当选择之后,显示结果,各级与各级之间的连接符怎么修改?比如地区最终渲染为 广东省-深圳市-南山区。怎么把中间的-改成其他的?

@KuangPF
Copy link
Member

KuangPF commented Jan 3, 2020

可以根据返回的 index 然后自己遍历数组获取相应的值,或者将返回 label 中的 - 替换成自己需要的即可。
截屏2020-01-03下午10 32 11

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