jd-opensource / drip-form

基于React和JSONSchema的动态表单解决方案

Home Page:https://jd-opensource.github.io/drip-form/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

我在一个组件内设置了默认值之后,我点击空白处的时候,就会给全局赋值,这会导致在渲染时,默认的数据等无法显示

urnwangss opened this issue · comments

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

我在一个组件内设置了默认值之后,我点击空白处的时候,就会给全局赋值,这会导致在渲染时,默认的数据等无法显示

Steps to reproduce

我在一个组件内设置了默认值之后,我点击空白处的时候,就会给全局赋值,这会导致在渲染时,默认的数据等无法显示

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.