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

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

Open
3 of 4 tasks
MikeJiangInno opened this issue Nov 13, 2023 · 1 comment
Open
3 of 4 tasks

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

MikeJiangInno opened this issue Nov 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working status: claimed Issue has been claimed by a contributor who plans to work on it.

Comments

@MikeJiangInno
Copy link

Have you 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

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 MikeJiangInno added the bug Something isn't working label Nov 13, 2023
@MikeJiangInno MikeJiangInno changed the title [Bug] <demo中填写级联选择就会出错> [Bug] <demo中填写级联,填写JSON就会出错> Nov 13, 2023
@mengshang918 mengshang918 self-assigned this Nov 20, 2023
@mengshang918
Copy link
Collaborator

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

@mengshang918 mengshang918 added the status: claimed Issue has been claimed by a contributor who plans to work on it. label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: claimed Issue has been claimed by a contributor who plans to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants