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

Revert "Revert "debug""

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