1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 15:45:58 +09:00
This commit is contained in:
syuilo 2020-11-03 16:21:28 +09:00
parent e2a9a0ff3d
commit 99209d36e1

View File

@ -300,8 +300,8 @@ export function modalMenu(items: any[], src?: HTMLElement, options?: { align?: s
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}
@ -318,8 +318,8 @@ export function contextMenu(items: any[], ev: MouseEvent) {
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}
@ -337,8 +337,8 @@ export function post(props: Record<string, any>) {
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}