Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
b4f17d72
Commit
b4f17d72
authored
Jun 23, 2022
by
崔佳豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 消息参数添加标识信息
parent
d66d307c
Pipeline
#53722
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.js
src/pages/system/notifications/index.js
+3
-1
No files found.
src/pages/system/notifications/index.js
View file @
b4f17d72
...
...
@@ -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
}
`
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment