You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
MINGXINICE
changed the title
我将RefTreeWithInput组件又包了一层,外层是被form容器包裹,因为希望form.validateFields对应获取到的字段是json格式的,所以我在包裹组件的逻辑里又调用了onChange方法,结果每次调用都报错,错误原因是内部是用分号来解析所有传入的字段
将RefTreeWithInput组件又包了一层,在包裹组件的逻辑里再次调用onChange方法会报错,错误原因是组件内部是用分号来解析所有传入的字段的
Dec 8, 2020
环境及版本信息
tinper-bee
版本号: 2.2.3若使用单个组件,请标明该组件版本号:ref-tree:2.1.5,
当前项目中
react
的版本号:16.6.3所使用的操作系统:Windows、Mac
所使用的浏览器:chrome
您所在的部门或项目名称:用友金融-产品研发部
描述这个问题: 我将RefTreeWithInput组件又包了一层,外层是被form容器包裹,因为希望form.validateFields对应获取到的字段是json格式的,所以我在包裹组件的逻辑里又调用了onChange方法,结果每次调用都报错,错误原因是内部是用分号来解析所有传入的字段
1、组件相关代码
我的封装:
外层调用:
2、报错信息
当前的行为:效果(可截图说明)及动作描述
每次onChange时,都会进入这个方法,然后报错误提示

期望的行为:
onChange时,可以传入用逗号分隔的refpk等字段
The text was updated successfully, but these errors were encountered: