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
42f62542
Commit
42f62542
authored
Jan 26, 2024
by
徐乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 修改跳转第三方功能兼容#和?符号问题
parent
4736a443
Pipeline
#84752
waiting for manual action with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
proxy.js
config/proxy.js
+1
-1
JumpThirdLink.js
src/pages/system/iframe/JumpThirdLink.js
+2
-1
No files found.
config/proxy.js
View file @
42f62542
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
// const proxyURL = 'https://work.panda-water.cn';
const
proxyURL
=
'http://
localhost:8085
/'
;
const
proxyURL
=
'http://
192.168.10.182:8099
/'
;
// const proxyURL = 'https://panda-water.cn'
//const proxyURL = 'http://192.168.12.189:8816/'
module
.
exports
=
{
...
...
src/pages/system/iframe/JumpThirdLink.js
View file @
42f62542
...
...
@@ -5,7 +5,8 @@ import styles from './index.less';
const
JumpThirdLink
=
props
=>
{
const
linkUrl
=
props
.
params
.
linkUrl
||
''
;
const
jumpLink
=
()
=>
{
window
.
open
(
linkUrl
,
'_blank'
);
let
url
=
linkUrl
.
replaceAll
(
'@'
,
'#'
).
replaceAll
(
'*'
,
'?'
);
window
.
open
(
url
,
'_blank'
);
};
useEffect
(()
=>
{
...
...
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