fix(Notify): default option is overrided (#9138)

This commit is contained in:
neverland
2021-07-28 16:34:05 +08:00
committed by GitHub
parent b7e6e68a92
commit 4705f0be1d

View File

@@ -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);