fix(Notify): default option is overrided (#9138)
This commit is contained in:
@@ -49,7 +49,7 @@ function Notify(options: NotifyMessage | NotifyOptions) {
|
|||||||
initInstance();
|
initInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
options = extend(Notify.currentOptions, parseOptions(options));
|
options = extend({}, Notify.currentOptions, parseOptions(options));
|
||||||
|
|
||||||
instance.open(options);
|
instance.open(options);
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
|
|||||||
Reference in New Issue
Block a user