|
|
@ -111,11 +111,11 @@ export class Pane extends Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
]; |
|
|
|
]; |
|
|
|
isNotEmptyString(o.loadingText) && |
|
|
|
isNotEmptyString(o.loadingText) && |
|
|
|
loadingTipItems.push({ |
|
|
|
loadingTipItems.push({ |
|
|
|
type: Text.xtype, |
|
|
|
type: Text.xtype, |
|
|
|
text: o.loadingText, |
|
|
|
text: o.loadingText, |
|
|
|
tgap: this._getSize(10), |
|
|
|
tgap: this._getSize(10), |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
return [ |
|
|
|
return [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -158,4 +158,10 @@ export class Pane extends Widget { |
|
|
|
this.options.items = items || []; |
|
|
|
this.options.items = items || []; |
|
|
|
this.check(); |
|
|
|
this.check(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
destroyed() { |
|
|
|
|
|
|
|
super.destroyed(); |
|
|
|
|
|
|
|
Layers.remove(`${this.getName()}-loading`); |
|
|
|
|
|
|
|
this._loading?.destroy(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|