From 6a4651e12f9e8078158eaa2c95c43eefae114365 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 13 Mar 2022 15:08:54 +0800 Subject: [PATCH] bugfix --- src/core/3.ob.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/3.ob.js b/src/core/3.ob.js index 35f97d2f3..2c21a11fb 100644 --- a/src/core/3.ob.js +++ b/src/core/3.ob.js @@ -53,7 +53,7 @@ } var defaultProps = extend(this._defaultConfig(config), props); var modifiedDefaultProps = (config && config.type && BI.OB.configFunctions[config.type + ".props"]) ? BI.reduce(BI.OB.configFunctions[config.type + ".props"], function (value, conf, index) { - return extend({}, conf, value.fn(defaultProps, config, value.opt)); + return extend(conf, value.fn(defaultProps, config, value.opt)); }, {}) : null; this.options = extend(defaultProps, modifiedDefaultProps, config); },