alibaba / x-render

🚴‍♀️ 阿里 - 很易用的中后台「表单 / 表格 / 图表」解决方案
https://xrender.fun
6.91k stars 980 forks source link

自定义组件的input或者别的表单,如何更合理的触发校验? #1518

Closed zqj-0922 closed 2 months ago

zqj-0922 commented 3 months ago

image image image

lhbxs commented 2 months ago

自定义组件,你可以把 props 解构剩余的属性 { xx1, xxx, ...retProps } = props; <Input {...retProps} />