| | |
| | | @opened="handleChange(true)" |
| | | @closed="handleChange(false)" |
| | | :show-close="false" |
| | | :destroy-on-close="true" |
| | | align-center |
| | | :width="width" |
| | | > |
| | | <template #header="{ close, titleId, titleClass }"> |
| | | <BaseCard direction="top-left" borderless="t"> |
| | |
| | | <template #content> |
| | | <slot></slot> |
| | | </template> |
| | | <template #footer> |
| | | <slot name="footer"></slot> |
| | | </template> |
| | | </BaseCard> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | export default { |
| | | props: { |
| | | title: String, |
| | | modelValue: Boolean |
| | | modelValue: Boolean, |
| | | width: { |
| | | type: [String, Number], |
| | | default: '50%' |
| | | } |
| | | }, |
| | | emits: ['update:modelValue'], |
| | | methods: { |