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

[Bug] <demo中填写级联,填写JSON就会出错>

Open MikeJiangInno opened this issue 1 year ago • 1 comments

Have you read the Contributing Guidelines on issues?

Prerequisites

  • [X] I'm using the latest version of DripForm、DripFormTheme.
  • [X] I have read the console error message carefully (if applicable).

Description

image

Steps to reproduce

  1. 选择”级联选择“
  2. 在样式->选项中填写,国家省份的JSON 国家省份JSON 3.就会出现”发生错误,请联系管理员!“

Current behavior

image image

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.

MikeJiangInno avatar Nov 13 '23 06:11 MikeJiangInno

目前这块转换存在问题,schema中需要数组格式的,这边配置是string格式的。 暂时解决方案:直接json编辑中配置。 后续会优化配置组件

mengshang918 avatar Nov 20 '23 03:11 mengshang918