mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 09:42:25 +00:00
update: 流程取消 cancel
This commit is contained in:
@@ -35,7 +35,10 @@ const [BasicModal, modalApi] = useVbenModal({
|
||||
title: '流程发起',
|
||||
fullscreenButton: false,
|
||||
onConfirm: handleSubmit,
|
||||
onCancel: () => emit('cancel'),
|
||||
onCancel: () => {
|
||||
emit('cancel');
|
||||
modalApi.close();
|
||||
},
|
||||
async onOpenChange(isOpen) {
|
||||
if (!isOpen) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user