Browse Source

无JIRA任务 fix:this指向问题

es6
fay 4 years ago
parent
commit
f0baba5526
  1. 2
      src/core/4.widget.js

2
src/core/4.widget.js

@ -100,7 +100,7 @@
function render () { function render () {
if (self.options.beforeRender || self.beforeRender) { if (self.options.beforeRender || self.beforeRender) {
this.__async = true; self.__async = true;
(self.options.beforeRender || self.beforeRender).call(self, BI.bind(self._render, self)); (self.options.beforeRender || self.beforeRender).call(self, BI.bind(self._render, self));
} else { } else {
self._render(); self._render();

Loading…
Cancel
Save