mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-09 08:52:41 +08:00
update src/components/Dialog/src/Dialog.vue.
修改关闭弹框的click,增加.stop,阻止冒泡到父组件。 解决修改用户头像,点击关闭弹框时重复弹框的bug。
This commit is contained in:
parent
bc6fadca41
commit
ae5a9da40e
@ -91,7 +91,7 @@ const dialogStyle = computed(() => {
|
||||
icon="ep:close"
|
||||
hover-color="var(--el-color-primary)"
|
||||
color="var(--el-color-info)"
|
||||
@click="close"
|
||||
@click.stop="close"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user