Browse Source

KERNEL-13947 refactor: Drawer的bug

es6
Zhenfei.Li 2 years ago
parent
commit
0af2b5afdb
  1. 4
      src/core/controller/controller.drawer.js

4
src/core/controller/controller.drawer.js

@ -106,9 +106,7 @@ export default class DrawerController extends Controller {
}]
});
this.floatManager[name] = popover;
(function (key) {
popover.on(BI.Drawer.EVENT_CLOSE, () => this.close(key));
})(name);
popover.on(BI.Drawer.EVENT_CLOSE, () => this.close(name));
BI.createWidget({
type: "bi.absolute",
element: options.container || this.options.render,

Loading…
Cancel
Save