!747 修复 Dialog 组件在 v-model 双向绑定的属性无效果问题,问题出在弹窗的右上角按钮点击关闭后,未通知父组件变更

Merge pull request !747 from Bin/fix-bug
This commit is contained in:
芋道源码 2025-03-23 00:07:27 +00:00 committed by Gitee
commit 1403ac0763
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -68,6 +68,7 @@ const dialogStyle = computed(() => {
draggable
class="com-dialog"
:show-close="false"
@close="$emit('update:modelValue', false)"
>
<template #header="{ close }">
<div class="relative h-54px flex items-center justify-between pl-15px pr-15px">