Browse Source

BI-125963 fix: maskers报错

es6
Kobi 2 years ago
parent
commit
f9dd745ff5
  1. 2
      packages/fineui/src/base/0.base.js
  2. 4
      packages/fineui/src/core/controller/controller.masker.js

2
packages/fineui/src/base/0.base.js

@ -12,7 +12,7 @@ import { StyleLoaderManager } from '../core/loader/loader.style';
const Resizers = new ResizeController(); const Resizers = new ResizeController();
const Layers = new LayerController(Resizers); const Layers = new LayerController(Resizers);
const Maskers = new MaskersController(); const Maskers = new MaskersController(Resizers);
const Bubbles = new BubblesController(); const Bubbles = new BubblesController();
const Tooltips = new TooltipsController(); const Tooltips = new TooltipsController();
const Popovers = new PopoverController(); const Popovers = new PopoverController();

4
packages/fineui/src/core/controller/controller.masker.js

@ -7,6 +7,10 @@ import { LayerController } from "./controller.layer";
import { zIndex_masker } from "../constant"; import { zIndex_masker } from "../constant";
export class MaskersController extends LayerController { export class MaskersController extends LayerController {
constructor (Resizers) {
super(Resizers);
}
init() { init() {
super.init(arguments); super.init(arguments);
this.zindex = zIndex_masker; this.zindex = zIndex_masker;

Loading…
Cancel
Save