update: 流程取消 cancel
This commit is contained in:
parent
4f74b90047
commit
e030bfbfbd
@ -35,7 +35,10 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
title: '流程发起',
|
title: '流程发起',
|
||||||
fullscreenButton: false,
|
fullscreenButton: false,
|
||||||
onConfirm: handleSubmit,
|
onConfirm: handleSubmit,
|
||||||
onCancel: () => emit('cancel'),
|
onCancel: () => {
|
||||||
|
emit('cancel');
|
||||||
|
modalApi.close();
|
||||||
|
},
|
||||||
async onOpenChange(isOpen) {
|
async onOpenChange(isOpen) {
|
||||||
if (!isOpen) {
|
if (!isOpen) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user