@@ -495,6 +495,7 @@ export default defineComponent({
495
495
const customOpts = computeCustomOpts . value
496
496
const { modalOptions, allowVisible, allowSort, allowFixed, allowResizable, checkMethod, visibleMethod } = customOpts
497
497
const columnOpts = computeColumnOpts . value
498
+ const { maxFixedSize } = columnOpts
498
499
const modalOpts = Object . assign ( { } , modalOptions )
499
500
const isMaxFixedColumn = computeIsMaxFixedColumn . value
500
501
const trVNs : VNode [ ] = [ ]
@@ -630,12 +631,15 @@ export default defineComponent({
630
631
minWidth : modalOpts . minWidth || 700 ,
631
632
height : modalOpts . height || '50vh' ,
632
633
minHeight : modalOpts . minHeight || 400 ,
633
- mask : true ,
634
- lockView : true ,
635
- showFooter : true ,
636
- resize : true ,
637
- escClosable : true ,
634
+ showZoom : modalOpts . showZoom ,
635
+ showMaximize : modalOpts . showMaximize ,
636
+ showMinimize : modalOpts . showMinimize ,
637
+ mask : modalOpts . mask ,
638
+ lockView : modalOpts . lockView ,
639
+ resize : modalOpts . resize ,
640
+ escClosable : ! ! modalOpts . escClosable ,
638
641
destroyOnClose : true ,
642
+ showFooter : true ,
639
643
'onUpdate:modelValue' ( value : any ) {
640
644
customStore . visible = value
641
645
}
@@ -729,7 +733,7 @@ export default defineComponent({
729
733
? h ( 'th' , { } , getI18n ( 'vxe.custom.setting.colResizable' ) )
730
734
: createCommentVNode ( ) ,
731
735
allowFixed
732
- ? h ( 'th' , { } , getI18n ( ' vxe.custom.setting.colFixed', [ columnOpts . maxFixedSize || 0 ] ) )
736
+ ? h ( 'th' , { } , getI18n ( ` vxe.custom.setting.${ maxFixedSize ? 'colFixedMax' : ' colFixed'} ` , [ maxFixedSize ] ) )
733
737
: createCommentVNode ( )
734
738
] )
735
739
] ) ,
0 commit comments