mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
调整 ConfirmDialog 组件的宽度属性
This commit is contained in:
@@ -17,7 +17,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|||||||
content: '',
|
content: '',
|
||||||
confirmText: '',
|
confirmText: '',
|
||||||
cancelText: '',
|
cancelText: '',
|
||||||
width: '30rem',
|
width: '28rem',
|
||||||
})
|
})
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
@@ -62,7 +62,7 @@ function handleCancel() {
|
|||||||
<VDialog :model-value="modelValue" @update:model-value="emit('update:modelValue', $event)" :max-width="width">
|
<VDialog :model-value="modelValue" @update:model-value="emit('update:modelValue', $event)" :max-width="width">
|
||||||
<VCard>
|
<VCard>
|
||||||
<VCardItem>
|
<VCardItem>
|
||||||
<div class="d-flex align-center justify-center mt-3">
|
<div class="d-flex align-center justify-start mt-3">
|
||||||
<VAvatar :color="currentType.color" variant="text" size="x-large">
|
<VAvatar :color="currentType.color" variant="text" size="x-large">
|
||||||
<VIcon size="x-large" :icon="currentType.icon" />
|
<VIcon size="x-large" :icon="currentType.icon" />
|
||||||
</VAvatar>
|
</VAvatar>
|
||||||
|
|||||||
Reference in New Issue
Block a user