diff --git a/src/core/widget.js b/src/core/widget.js index a1c2f0297..c094bfc35 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -44,7 +44,7 @@ _constructed: function () { if (this.setup) { pushTarget(this); - this.service = this.setup(); + this.service = this.setup(this.options); this.render = BI.isPlainObject(this.service) ? this.service.render : this.service; popTarget(); }