提交 b468d610 编写于 作者: KK's avatar KK

Revert "debug"

This reverts commit 0ecf5321.
上级 83181526
...@@ -69,10 +69,9 @@ ...@@ -69,10 +69,9 @@
this.tabPanelClick(data.activeItem); this.tabPanelClick(data.activeItem);
} else { } else {
this.$nextTick(() => { this.$nextTick(() => {
let panel:any = this.activiedTabViewPanel if(this.activiedTabViewPanel){
if(panel){ this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
this.viewState.next({ tag: panel, action: this.action, data: {}}); }
}
}); });
} }
}); });
...@@ -118,9 +117,8 @@ ...@@ -118,9 +117,8 @@
} }
this.$emit("changepanel",$event); this.$emit("changepanel",$event);
this.$nextTick(() => { this.$nextTick(() => {
let panel:any = this.activiedTabViewPanel if(this.activiedTabViewPanel){
if(panel){ this.viewState.next({ tag: this.activiedTabViewPanel, action: this.action, data: {}});
this.viewState.next({ tag: panel, action: this.action, data: {}});
} }
}); });
} }
......
...@@ -70,9 +70,9 @@ this.getLocalStorage(); ...@@ -70,9 +70,9 @@ this.getLocalStorage();
* @memberof MOBORDERMobTabExpViewBase * @memberof MOBORDERMobTabExpViewBase
*/ */
public getLocalStorage() { public getLocalStorage() {
let key:any = localStorage.getItem('tabKey') if(localStorage.getItem('tabKey')){
if(key){ let info:any = JSON.parse(localStorage.getItem('tabKey'));
let info:any = JSON.parse(key); }
if (info.name == '${dename}') { if (info.name == '${dename}') {
if (info.id == this.context.${dename}) { if (info.id == this.context.${dename}) {
this.activiedTabViewPanel = info.value; this.activiedTabViewPanel = info.value;
...@@ -80,7 +80,6 @@ this.getLocalStorage(); ...@@ -80,7 +80,6 @@ this.getLocalStorage();
} else { } else {
this.activiedTabViewPanel = '<#list tabexppanel.getPSControls() as tabviewpanel><#if tabviewpanel_index==0>${tabviewpanel.name}</#if></#list>'; this.activiedTabViewPanel = '<#list tabexppanel.getPSControls() as tabviewpanel><#if tabviewpanel_index==0>${tabviewpanel.name}</#if></#list>';
} }
}
} }
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册