review:代码生成优化

This commit is contained in:
YunaiV
2025-04-22 21:36:41 +08:00
parent 5f957195df
commit 3fe36fd823
3 changed files with 9 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ const [Modal, modalApi] = useVbenModal({
},
async onOpenChange(isOpen: boolean) {
if (!isOpen) {
// TODO @puhui999这里置空的原因是啥
formData.value = undefined;
return;
}