refactor: close的清理
This commit is contained in:
parent
bc46cc8341
commit
d8d8ecf308
@ -20,6 +20,9 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
title: '流程信息',
|
title: '流程信息',
|
||||||
class: 'w-[1000px]',
|
class: 'w-[1000px]',
|
||||||
footer: false,
|
footer: false,
|
||||||
|
onClosed: () => {
|
||||||
|
taskInfo.value = undefined;
|
||||||
|
},
|
||||||
onOpenChange: async (isOpen) => {
|
onOpenChange: async (isOpen) => {
|
||||||
if (!isOpen) {
|
if (!isOpen) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user