Commit ae5a9da4 by 小敦敦 Committed by Gitee

update src/components/Dialog/src/Dialog.vue.

修改关闭弹框的click,增加.stop,阻止冒泡到父组件。
解决修改用户头像,点击关闭弹框时重复弹框的bug。
parent bc6fadca
...@@ -91,7 +91,7 @@ const dialogStyle = computed(() => { ...@@ -91,7 +91,7 @@ const dialogStyle = computed(() => {
icon="ep:close" icon="ep:close"
hover-color="var(--el-color-primary)" hover-color="var(--el-color-primary)"
color="var(--el-color-info)" color="var(--el-color-info)"
@click="close" @click.stop="close"
/> />
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment