From 58b30fe8eb76f8c7fc21e53c7a11b39529b2b2bc Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 2 Mar 2021 23:06:15 +0800 Subject: [PATCH] update --- 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 cce4c4b3f..d57eef8bc 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -100,7 +100,7 @@ function render () { if (self.options.beforeRender || self.beforeRender) { - (self.options.beforeRender || self.beforeRender).call(this, BI.bind(self._render, this)); + (self.options.beforeRender || self.beforeRender).call(self, BI.bind(self._render, self)); } else { self._render(); }