[Bug] <demo中填写级联,填写JSON就会出错>
MikeJiangInno opened this issue · comments
MikeJiangInno commented
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of DripForm、DripFormTheme.
- I have read the console error message carefully (if applicable).
Description
Steps to reproduce
- 选择”级联选择“
- 在样式->选项中填写,国家省份的JSON
国家省份JSON
3.就会出现”发生错误,请联系管理员!“
Current behavior
Expected behavior
能够显示数据
Your environment
- DripForm version used:
- DripFormTheme used:
- DripFormTheme version used:
Reproducible demo
No response
Self-service
- I'd be willing to fix this bug myself.
mengshang918 commented
目前这块转换存在问题,schema中需要数组格式的,这边配置是string格式的。
暂时解决方案:直接json编辑中配置。
后续会优化配置组件