重写重新生成的逻辑

This commit is contained in:
RockYang
2025-05-28 20:57:27 +08:00
parent 6b6fe1bebd
commit 81b32523ed
7 changed files with 22 additions and 38 deletions
+1 -3
View File
@@ -60,9 +60,7 @@ const props = defineProps({
show: Boolean,
})
const showDialog = computed(() => {
return props.show
})
const showDialog = ref(props.show)
const emits = defineEmits(['hide'])
const close = function () {
emits('hide', false)