Browse Source

beforeInit和mounted同时存在的时候,mounted未在render之后执行

es6
imp 7 years ago
parent
commit
acd6c8422c
  1. 2
      dist/bundle.js
  2. 2
      dist/bundle.min.js
  3. 2
      dist/core.js
  4. 2
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 2
      src/core/widget.js

2
dist/bundle.js vendored

@ -20921,7 +20921,7 @@ BI.Widget = BI.inherit(BI.OB, {
_mount: function () { _mount: function () {
var self = this; var self = this;
var isMounted = this._isMounted; var isMounted = this._isMounted;
if (isMounted || !this.isVisible()) { if (isMounted || !this.isVisible() || this.__asking === true) {
return; return;
} }
if (this._isRoot === true) { if (this._isRoot === true) {

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -20921,7 +20921,7 @@ BI.Widget = BI.inherit(BI.OB, {
_mount: function () { _mount: function () {
var self = this; var self = this;
var isMounted = this._isMounted; var isMounted = this._isMounted;
if (isMounted || !this.isVisible()) { if (isMounted || !this.isVisible() || this.__asking === true) {
return; return;
} }
if (this._isRoot === true) { if (this._isRoot === true) {

2
dist/fineui.js vendored

@ -21164,7 +21164,7 @@ BI.Widget = BI.inherit(BI.OB, {
_mount: function () { _mount: function () {
var self = this; var self = this;
var isMounted = this._isMounted; var isMounted = this._isMounted;
if (isMounted || !this.isVisible()) { if (isMounted || !this.isVisible() || this.__asking === true) {
return; return;
} }
if (this._isRoot === true) { if (this._isRoot === true) {

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
src/core/widget.js

@ -172,7 +172,7 @@ BI.Widget = BI.inherit(BI.OB, {
_mount: function () { _mount: function () {
var self = this; var self = this;
var isMounted = this._isMounted; var isMounted = this._isMounted;
if (isMounted || !this.isVisible()) { if (isMounted || !this.isVisible() || this.__asking === true) {
return; return;
} }
if (this._isRoot === true) { if (this._isRoot === true) {

Loading…
Cancel
Save