|
@@ -119,7 +119,7 @@ export function UseCyDialog(props: IsCyDialog, emit: any) {
|
|
|
useDraggable(boxRef, headerRef, draggable)
|
|
|
|
|
|
function closed(closingMethod: ClosingMethod, val: any) {
|
|
|
- emit('closed')
|
|
|
+ emit('closed', closingMethod, val)
|
|
|
}
|
|
|
|
|
|
async function handleConfirm() {
|
|
@@ -143,7 +143,6 @@ export function UseCyDialog(props: IsCyDialog, emit: any) {
|
|
|
next(null)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
async function handleCancel() {
|
|
|
state.cancelLoading = true;
|
|
|
|