|
@@ -55,14 +55,13 @@ function AHeader({ history, hideName }) {
|
|
|
}
|
|
|
//未读消息页面显示并带入未读筛选条件
|
|
|
function showMyMsgPage(){
|
|
|
- const idName = '我的通知';
|
|
|
- const item = panes.find((it) => it.key === idName);
|
|
|
+ const item = panes.find((it) => it.key === 'ZNTZ-WDTZ');
|
|
|
if (item) { //已存在当前tab,则定位即可不增加
|
|
|
- dispatch(active({idName,isUnRead:true}));
|
|
|
+ dispatch(active({idName:'ZNTZ-WDTZ',isUnRead:true}));
|
|
|
return;
|
|
|
}
|
|
|
dispatch(
|
|
|
- add({ title: idName, content: <MyMessage />, key: idName,isUnRead:true})
|
|
|
+ add({ title: '我的通知', content: <MyMessage />, key: 'ZNTZ-WDTZ&我的通知',isUnRead:true})
|
|
|
)
|
|
|
}
|
|
|
//获取组织列表
|