mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix: "beforeClose" missing parameter declaration (#4019)
This commit is contained in:
parent
7d71c879bd
commit
b75851c4c2
@ -22,7 +22,7 @@ interface DialogOptions {
|
||||
* @deprecated use beforeClose instead
|
||||
*/
|
||||
asyncClose?: boolean;
|
||||
beforeClose?: null | (() => Promise<void> | void);
|
||||
beforeClose?: null | ((action: Action) => Promise<void> | void);
|
||||
businessId?: number;
|
||||
sessionFrom?: string;
|
||||
overlayStyle?: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user