mirror of
https://gitee.com/xiaonuobase/snowy
synced 2025-12-15 11:03:57 +08:00
【更新】关闭时销毁 Modal 里的子元素
【更新】关闭时销毁 Modal 里的子元素 Signed-off-by: bubu <8096927+bubu-space@user.noreply.gitee.com>
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
</a-upload>
|
||||
|
||||
<!-- 文件预览 -->
|
||||
<a-modal :open="previewVisible" :title="previewTitle" :footer="null" @cancel="handleCancel">
|
||||
<a-modal :open="previewVisible" :title="previewTitle" :footer="null" :destroyOnClose="true" @cancel="handleCancel">
|
||||
<template v-if="props.uploadMode === 'image'">
|
||||
<img alt="example" style="width: 100%" :src="previewObj" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user