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

Revert "TS强类型判断"

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