Skip to content

Commit 3d8f829

Browse files
committed
fix(ProForm): 修改ci报错
1 parent fc958e2 commit 3d8f829

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/components/src/ProForm/widgets/SelectMultiple/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface SelectMultipleProps {
3131
}
3232

3333
function SelectMultiple(
34-
this: import('../../type').Fields,
34+
this: import('../../type').FormFields,
3535
{
3636
option = [],
3737
onChange,

packages/components/src/ProForm/widgets/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Fields, FormItemsProps } from '../type';
1+
import { FormFields, FormItemsProps } from '../type';
22
import {
33
Input,
44
InputNumber,
@@ -27,9 +27,9 @@ import { isRequired } from '../utils';
2727
export function getFormFields(
2828
readOnly?: boolean,
2929
formDatas: FormItemsProps[] = [],
30-
customWidgetsList: Fields = {},
30+
customWidgetsList: FormFields = {},
3131
) {
32-
const widgetsList: Fields = {
32+
const widgetsList: FormFields = {
3333
input: Input,
3434
inputNumber: InputNumber,
3535
radio: Radio,
@@ -47,7 +47,7 @@ export function getFormFields(
4747
searchTree: SearchTree,
4848
...customWidgetsList,
4949
};
50-
const fields: Fields = {};
50+
const fields: FormFields = {};
5151
formDatas.forEach((col) => {
5252
if (!readOnly) delete col.readSpan;
5353
if (col) {

0 commit comments

Comments
 (0)