Commit 8b908839 authored by wildfirecode's avatar wildfirecode

1

parent 202b1cfe
...@@ -8,6 +8,7 @@ export default class PanelCtrl { ...@@ -8,6 +8,7 @@ export default class PanelCtrl {
_panels:any[] _panels:any[]
showPanels(panels: any[]) { showPanels(panels: any[]) {
this._panels=panels; this._panels=panels;
if(this._panels.length <=0 ) return;
const panel = this._panels.shift(); const panel = this._panels.shift();
PanelCtrl.instance.show(panel); PanelCtrl.instance.show(panel);
} }
......
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