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
a1c88759
Commit
a1c88759
authored
1 year ago
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 消息跳转修改
parent
3653a049
Pipeline
#83724
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
index.js
src/pages/system/notifications/index.js
+14
-0
No files found.
src/pages/system/notifications/index.js
View file @
a1c88759
...
...
@@ -303,6 +303,20 @@ const CheckAllMessage = props => {
return
;
}
if
(
/^
((
http|https
)
:
)?\/\/([\w
.
]
+
\/?)\S
*/
.
test
(
val
.
web_path
))
{
if
(
val
.
id
==
0
)
{
window
.
open
(
val
.
web_path
);
}
else
{
noticeService
.
postInformationStatus
({
userID
:
window
.
globalConfig
.
userInfo
.
OID
,
hisID
:
val
.
hisID
})
.
then
(
res
=>
{
sortChange
(
1
);
window
.
open
(
val
.
web_path
);
});
}
return
;
}
const
params
=
GetUrlParam
(
val
.
web_path
);
if
(
!
params
.
widget
)
{
notification
.
error
({
message
:
'提示'
,
duration
:
3
,
description
:
'未配置跳转路径'
});
...
...
This diff is collapsed.
Click to expand it.
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