Commit bb4e4aaf authored by 张华挺's avatar 张华挺

_panelClassMap

parent 603b0522
......@@ -52,6 +52,7 @@ export default class PanelCtrl {
private noLoadingList = ['StartPanel', 'failed', 'prize2', ModuleTypes.PRIZE_PANEL, ModuleTypes.NO_PRIZE_PANEL];
show(type: any, data?) {
console.log(this._panelClassMap)
this.closeCurrent(true);
const cls = this._panelClassMap[type];
const panel: Panel = new cls(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment