File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/components/src/ProForm/widgets Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export interface SelectMultipleProps {
31
31
}
32
32
33
33
function SelectMultiple (
34
- this : import ( '../../type' ) . Fields ,
34
+ this : import ( '../../type' ) . FormFields ,
35
35
{
36
36
option = [ ] ,
37
37
onChange,
Original file line number Diff line number Diff line change 1
- import { Fields , FormItemsProps } from '../type' ;
1
+ import { FormFields , FormItemsProps } from '../type' ;
2
2
import {
3
3
Input ,
4
4
InputNumber ,
@@ -27,9 +27,9 @@ import { isRequired } from '../utils';
27
27
export function getFormFields (
28
28
readOnly ?: boolean ,
29
29
formDatas : FormItemsProps [ ] = [ ] ,
30
- customWidgetsList : Fields = { } ,
30
+ customWidgetsList : FormFields = { } ,
31
31
) {
32
- const widgetsList : Fields = {
32
+ const widgetsList : FormFields = {
33
33
input : Input ,
34
34
inputNumber : InputNumber ,
35
35
radio : Radio ,
@@ -47,7 +47,7 @@ export function getFormFields(
47
47
searchTree : SearchTree ,
48
48
...customWidgetsList ,
49
49
} ;
50
- const fields : Fields = { } ;
50
+ const fields : FormFields = { } ;
51
51
formDatas . forEach ( ( col ) => {
52
52
if ( ! readOnly ) delete col . readSpan ;
53
53
if ( col ) {
You can’t perform that action at this time.
0 commit comments