mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-20 23:18:58 +08:00
refactor: 发起流程前的loading
This commit is contained in:
@@ -17,6 +17,10 @@ interface Emits {
|
||||
* 完成
|
||||
*/
|
||||
complete: [];
|
||||
/**
|
||||
* 取消 此时已经变成草稿状态了
|
||||
*/
|
||||
cancel: [];
|
||||
}
|
||||
|
||||
const emit = defineEmits<Emits>();
|
||||
@@ -31,6 +35,7 @@ const [BasicModal, modalApi] = useVbenModal({
|
||||
title: '流程发起',
|
||||
fullscreenButton: false,
|
||||
onConfirm: handleSubmit,
|
||||
onCancel: () => emit('cancel'),
|
||||
async onOpenChange(isOpen) {
|
||||
if (!isOpen) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user