refactor: 代码生成预览关闭时清除代码视图缓存

pull/75/head
puhui999 2025-04-16 15:04:05 +08:00
parent 1da8726371
commit 51d6e087cf
1 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,8 @@ const [Modal, modalApi] = useVbenModal({
class: 'w-3/5',
async onOpenChange(isOpen: boolean) {
if (!isOpen) {
//
codeMap.clear();
return;
}