From 73ea773751559591f31111e0ae4170ca36558fdf Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 10 Feb 2021 14:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=88=E5=AF=B9=E7=A7=BB=E5=8A=A8=E7=AB=AFre?= =?UTF-8?q?m=E8=BF=9B=E8=A1=8C=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }