mirror of
https://github.com/youzan/vant.git
synced 2026-01-19 06:04:05 +08:00
fix(Notify): default option is overrided (#9138)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user