Browse Source

优化逻辑

es6
guy 3 years ago
parent
commit
f98b4c6887
  1. 4
      src/core/4.widget.js

4
src/core/4.widget.js

@ -154,11 +154,11 @@
this.__async = false;
if (async && this._isMounted) {
callLifeHook(this, "beforeMount");
}
this._mount();
if (async && this._isMounted) {
callLifeHook(this, "mounted");
this.fireEvent(BI.Events.MOUNT);
} else {
this._mount();
}
popTarget();
},

Loading…
Cancel
Save