File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ const modalProps = {
79
79
maskClosable : PropTypes . looseBool ,
80
80
/** 强制渲染 Modal*/
81
81
forceRender : PropTypes . looseBool ,
82
- okButtonProps : PropTypes . shape ( buttonTypes ) ,
83
- cancelButtonProps : PropTypes . shape ( buttonTypes ) ,
82
+ okButtonProps : PropTypes . shape ( buttonTypes ) . loose ,
83
+ cancelButtonProps : PropTypes . shape ( buttonTypes ) . loose ,
84
84
destroyOnClose : PropTypes . looseBool ,
85
85
wrapClassName : PropTypes . string ,
86
86
maskTransitionName : PropTypes . string ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const skeletonParagraphProps = {
9
9
rows : PropTypes . number ,
10
10
} ;
11
11
12
- export const SkeletonParagraphProps = PropTypes . shape ( skeletonParagraphProps ) ;
12
+ export const SkeletonParagraphProps = PropTypes . shape ( skeletonParagraphProps ) . loose ;
13
13
14
14
export type ISkeletonParagraphProps = Partial < ExtractPropTypes < typeof skeletonParagraphProps > > ;
15
15
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const skeletonTitleProps = {
6
6
width : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . string ] ) ,
7
7
} ;
8
8
9
- export const SkeletonTitleProps = PropTypes . shape ( skeletonTitleProps ) ;
9
+ export const SkeletonTitleProps = PropTypes . shape ( skeletonTitleProps ) . loose ;
10
10
11
11
export type ISkeletonTitleProps = Partial < ExtractPropTypes < typeof skeletonTitleProps > > ;
12
12
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const ImageProps = {
50
50
visible : PropTypes . bool ,
51
51
onVisibleChange : PropTypes . func ,
52
52
getContainer : PropTypes . oneOf ( [ PropTypes . func , PropTypes . bool ] ) ,
53
- } ) ,
53
+ } ) . loose ,
54
54
] ) . def ( true ) ,
55
55
} ;
56
56
type ImageStatus = 'normal' | 'error' | 'loading' ;
Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ export default defineComponent({
49
49
wrapper : PropTypes . any ,
50
50
row : PropTypes . any ,
51
51
cell : PropTypes . any ,
52
- } ) ,
52
+ } ) . loose ,
53
53
body : PropTypes . shape ( {
54
54
wrapper : PropTypes . any ,
55
55
row : PropTypes . any ,
56
56
cell : PropTypes . any ,
57
- } ) ,
58
- } ) ,
57
+ } ) . loose ,
58
+ } ) . loose ,
59
59
expandIconAsCell : PropTypes . looseBool ,
60
60
expandedRowKeys : PropTypes . array ,
61
61
expandedRowClassName : PropTypes . func ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default {
31
31
point : PropTypes . shape ( {
32
32
pageX : PropTypes . number ,
33
33
pageY : PropTypes . number ,
34
- } ) ,
34
+ } ) . loose ,
35
35
} ,
36
36
data ( ) {
37
37
this . domEl = null ;
You can’t perform that action at this time.
0 commit comments