Browse Source

Pull request #3741: 无JIRA fix: pane的内存泄漏

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '51cc6914c819b312b1ce161dfa49df292b951a02':
  无JIRA fix: pane的内存泄漏
research/test
Dailer-刘荣歆 8 months ago
parent
commit
fec74685d2
  1. 6
      packages/fineui/src/base/1.pane.js

6
packages/fineui/src/base/1.pane.js

@ -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();
}
} }

Loading…
Cancel
Save