mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Notify): default option is overrided (#9138)
This commit is contained in:
parent
b7e6e68a92
commit
4705f0be1d
@ -49,7 +49,7 @@ function Notify(options: NotifyMessage | NotifyOptions) {
|
||||
initInstance();
|
||||
}
|
||||
|
||||
options = extend(Notify.currentOptions, parseOptions(options));
|
||||
options = extend({}, Notify.currentOptions, parseOptions(options));
|
||||
|
||||
instance.open(options);
|
||||
clearTimeout(timer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user