Fix search.ts
This commit is contained in:
parent
2dcb3af70f
commit
e3e5a4272b
3 changed files with 12 additions and 29 deletions
|
|
@ -97,8 +97,8 @@ export function apiWithDialog(
|
|||
|
||||
export function promiseDialog<T extends Promise<any>>(
|
||||
promise: T,
|
||||
onSuccess?: (res: any) => void,
|
||||
onFailure?: (e: Error) => void,
|
||||
onSuccess?: ((res: any) => void) | null,
|
||||
onFailure?: ((e: Error) => void) | null,
|
||||
text?: string,
|
||||
): T {
|
||||
const showing = ref(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue