File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @ant-design/pro-descriptions" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " @ant-design/pro-descriptions" ,
55 "main" : " lib/index.js" ,
66 "types" : " lib/index.d.ts" ,
4040 "access" : " public"
4141 },
4242 "dependencies" : {
43- "@ant-design/pro-field" : " ^ 0.0.9 "
43+ "@ant-design/pro-field" : " 0.0.12 "
4444 }
4545}
Original file line number Diff line number Diff line change 11{
22 "name" : " @ant-design/pro-table" ,
3- "version" : " 2.5.1 " ,
3+ "version" : " 2.5.3 " ,
44 "description" : " 🏆 Use Ant Design Table like a Pro!" ,
55 "keywords" : [
66 " antd" ,
3131 ],
3232 "dependencies" : {
3333 "@ant-design/icons" : " ^4.1.0" ,
34- "@ant-design/pro-field" : " ^ 0.0.9 " ,
34+ "@ant-design/pro-field" : " 0.0.12 " ,
3535 "@ant-design/pro-provider" : " 0.0.3" ,
3636 "@ant-design/pro-utils" : " 0.0.2" ,
3737 "antd" : " ^4.1.5" ,
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ export const FormInputRender: React.FC<{
191191 valueEnum = { valueEnum }
192192 valueType = { valueType }
193193 ref = { ref }
194- plain = { type ! == 'form' }
194+ plain = { type = == 'form' }
195195 mode = "edit"
196196 allowClear
197197 style = { {
@@ -252,8 +252,9 @@ export const FormInputRender: React.FC<{
252252 style : { width : '100%' } ,
253253 ...item . formItemProps ,
254254 } }
255- valueType = { valueType || 'text' }
256- plain = { type !== 'form' }
255+ // valueType = textarea,但是在 查询表单这里,应该是个 input 框
256+ valueType = { ! valueType && valueType !== 'textarea' ? valueType : 'text' }
257+ plain = { type === 'form' }
257258 { ...rest }
258259 />
259260 ) ;
You can’t perform that action at this time.
0 commit comments