|
@ -12,7 +12,8 @@ const props = defineProps({ |
|
|
width: propTypes.oneOfType([String, Number]).def('40%'), |
|
|
width: propTypes.oneOfType([String, Number]).def('40%'), |
|
|
scroll: propTypes.bool.def(false), // 是否开启滚动条。如果是的话,按照 maxHeight 设置最大高度 |
|
|
scroll: propTypes.bool.def(false), // 是否开启滚动条。如果是的话,按照 maxHeight 设置最大高度 |
|
|
maxHeight: propTypes.oneOfType([String, Number]).def('400px'), |
|
|
maxHeight: propTypes.oneOfType([String, Number]).def('400px'), |
|
|
vLoading:propTypes.bool.def(false) |
|
|
vLoading:propTypes.bool.def(false), |
|
|
|
|
|
alignCenter:propTypes.bool.def(true), |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
const getBindValue = computed(() => { |
|
|
const getBindValue = computed(() => { |
|
@ -87,6 +88,7 @@ const initDialog = () => { |
|
|
:close-on-click-modal="true" |
|
|
:close-on-click-modal="true" |
|
|
:fullscreen="isFullscreen" |
|
|
:fullscreen="isFullscreen" |
|
|
:width="width" |
|
|
:width="width" |
|
|
|
|
|
:align-center="alignCenter" |
|
|
destroy-on-close |
|
|
destroy-on-close |
|
|
lock-scroll |
|
|
lock-scroll |
|
|
draggable |
|
|
draggable |
|
|