Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

renderFormItem 显示两个表单元素title🐛[BUG] #743

Open
quqiufeng opened this issue May 16, 2021 · 1 comment
Open

renderFormItem 显示两个表单元素title🐛[BUG] #743

quqiufeng opened this issue May 16, 2021 · 1 comment

Comments

@quqiufeng
Copy link

最新版 pro v5

{
title: '状态',
dataIndex: 'status',
valueEnum: {
0: { text: '关闭', status: 'Default' },
1: { text: '运行中', status: 'Processing' },
2: { text: '已上线', status: 'Success' },
3: { text: '异常', status: 'Error' },
},
renderFormItem: (item, { defaultRender, ...rest }, form) => {
return defaultRender(item);
},
}

表单显示

image

@quqiufeng
Copy link
Author

title 状态 显示两次

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant