Commit b4f17d72 authored by 崔佳豪's avatar 崔佳豪

perf: 消息参数添加标识信息

parent d66d307c
Pipeline #53722 waiting for manual action with stages
......@@ -290,7 +290,9 @@ const CheckAllMessage = props => {
notification.error({ message: '提示', duration: 3, description: '你没有跳转菜单权限,请联系管理员添加权限' });
return;
}
// 添加消息来源和目标标识,便于判断
params._source = '消息通知';
params._target = val.web_path;
if (val.id == 0) {
sessionStorage.setItem('routerParams', JSON.stringify(params));
window.history.pushState(params, '', `/civbase/${targetMenuPath}`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment