mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 04:18:29 +08:00
fix: 修复旧版static-xxx组件inputClassName重复的问题 (#5885)
Co-authored-by: jinye <jinye@baidu.com>
This commit is contained in:
parent
717e01fb07
commit
2fbe88f793
@ -860,6 +860,8 @@ export class FormItemWrap extends React.Component<FormItemProps> {
|
||||
|
||||
renderControl(): JSX.Element | null {
|
||||
const {
|
||||
// 这里解构,不可轻易删除,避免被rest传到子组件
|
||||
inputClassName,
|
||||
formItem: model,
|
||||
classnames: cx,
|
||||
children,
|
||||
@ -1641,6 +1643,8 @@ export function asFormItem(config: Omit<FormItemConfig, 'component'>) {
|
||||
|
||||
renderControl() {
|
||||
const {
|
||||
// 这里解构,不可轻易删除,避免被rest传到子组件
|
||||
inputClassName,
|
||||
formItem: model,
|
||||
classnames: cx,
|
||||
children,
|
||||
|
Loading…
Reference in New Issue
Block a user