Commit 786effd9dac8cf650c205a594f3692b20b3b04d3
1 parent
5a3c9f54
perf: 调整弹窗默认长宽
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-ui-admin-vue3/src/components/XModal/src/XModal.vue
| @@ -10,8 +10,8 @@ const props = defineProps({ | @@ -10,8 +10,8 @@ const props = defineProps({ | ||
| 10 | fullscreen: propTypes.bool.def(false), | 10 | fullscreen: propTypes.bool.def(false), |
| 11 | loading: propTypes.bool.def(false), | 11 | loading: propTypes.bool.def(false), |
| 12 | title: propTypes.string.def('弹窗'), | 12 | title: propTypes.string.def('弹窗'), |
| 13 | - width: propTypes.string.def('800'), | ||
| 14 | - height: propTypes.string.def('480'), | 13 | + width: propTypes.string.def('40%'), |
| 14 | + height: propTypes.string.def('60%'), | ||
| 15 | minWidth: propTypes.string.def('460'), | 15 | minWidth: propTypes.string.def('460'), |
| 16 | minHeight: propTypes.string.def('320'), | 16 | minHeight: propTypes.string.def('320'), |
| 17 | showFooter: propTypes.bool.def(true) | 17 | showFooter: propTypes.bool.def(true) |