Browse Source

Pull request #3290: KERNEL-13947 refactor: Drawer的bug

Merge in VISUAL/fineui from ~ZHENFEI.LI/fineui:es6 to es6

* commit '0af2b5afdbcb60b320f03c398a2b6105a2108818':
  KERNEL-13947 refactor: Drawer的bug
es6
Zhenfei.Li-李振飞 2 years ago
parent
commit
f072c66862
  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