Browse Source

Merging in latest from upstream (VISUAL/fineui:refs/heads/es6)

* commit 'f072c668620f96c292114004792960f08f3dd023':
  KERNEL-13947 refactor: Drawer的bug
es6
Joker.Wang-王顺 2 years ago
parent
commit
6747882413
  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; this.floatManager[name] = popover;
(function (key) { popover.on(BI.Drawer.EVENT_CLOSE, () => this.close(name));
popover.on(BI.Drawer.EVENT_CLOSE, () => this.close(key));
})(name);
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: options.container || this.options.render, element: options.container || this.options.render,

Loading…
Cancel
Save