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

Revert "Revert "TS强类型判断""

This reverts commit 3877d2ac.
上级 0bbf7fe6
......@@ -69,7 +69,9 @@
this.tabPanelClick(data.activeItem);
} else {
this.$nextTick(() => {
if(this.activiedTabViewPanel){
this.viewState.next({ tag: this.activiedTabViewPanel, action: action, data: data });
}
});
}
});
......@@ -115,7 +117,9 @@
}
this.$emit("changepanel",$event);
this.$nextTick(() => {
if(this.activiedTabViewPanel){
this.viewState.next({ tag: this.activiedTabViewPanel, action: this.action, data: {}});
}
});
}
......
......@@ -70,7 +70,9 @@ 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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册