File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ const modalProps = {
7979 maskClosable : PropTypes . looseBool ,
8080 /** 强制渲染 Modal*/
8181 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 ,
8484 destroyOnClose : PropTypes . looseBool ,
8585 wrapClassName : PropTypes . string ,
8686 maskTransitionName : PropTypes . string ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const skeletonParagraphProps = {
99 rows : PropTypes . number ,
1010} ;
1111
12- export const SkeletonParagraphProps = PropTypes . shape ( skeletonParagraphProps ) ;
12+ export const SkeletonParagraphProps = PropTypes . shape ( skeletonParagraphProps ) . loose ;
1313
1414export type ISkeletonParagraphProps = Partial < ExtractPropTypes < typeof skeletonParagraphProps > > ;
1515
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const skeletonTitleProps = {
66 width : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . string ] ) ,
77} ;
88
9- export const SkeletonTitleProps = PropTypes . shape ( skeletonTitleProps ) ;
9+ export const SkeletonTitleProps = PropTypes . shape ( skeletonTitleProps ) . loose ;
1010
1111export type ISkeletonTitleProps = Partial < ExtractPropTypes < typeof skeletonTitleProps > > ;
1212
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const ImageProps = {
5050 visible : PropTypes . bool ,
5151 onVisibleChange : PropTypes . func ,
5252 getContainer : PropTypes . oneOf ( [ PropTypes . func , PropTypes . bool ] ) ,
53- } ) ,
53+ } ) . loose ,
5454 ] ) . def ( true ) ,
5555} ;
5656type ImageStatus = 'normal' | 'error' | 'loading' ;
Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ export default defineComponent({
4949 wrapper : PropTypes . any ,
5050 row : PropTypes . any ,
5151 cell : PropTypes . any ,
52- } ) ,
52+ } ) . loose ,
5353 body : PropTypes . shape ( {
5454 wrapper : PropTypes . any ,
5555 row : PropTypes . any ,
5656 cell : PropTypes . any ,
57- } ) ,
58- } ) ,
57+ } ) . loose ,
58+ } ) . loose ,
5959 expandIconAsCell : PropTypes . looseBool ,
6060 expandedRowKeys : PropTypes . array ,
6161 expandedRowClassName : PropTypes . func ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default {
3131 point : PropTypes . shape ( {
3232 pageX : PropTypes . number ,
3333 pageY : PropTypes . number ,
34- } ) ,
34+ } ) . loose ,
3535 } ,
3636 data ( ) {
3737 this . domEl = null ;
You can’t perform that action at this time.
0 commit comments