Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
vue-flow-editor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-12-04 10:20:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2a1798ae9a81d106f72cc2931ada35f9c9dba00f
2a1798ae
1 parent
5fd261e8
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
doc/axios.js
doc/axios.js
View file @
2a1798a
/*
* @Date: 2023-10-27 11:12:24
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-04
09:42:18
* @LastEditTime: 2024-12-04
10:20:03
* @FilePath: /vue-flow-editor/doc/axios.js
* @Description: 文件描述
*/
...
...
@@ -69,7 +69,7 @@ axios.interceptors.response.use(
localStorage
.
setItem
(
'showConfirmation'
,
'0'
);
// 屏蔽显示点击刷新按钮时的提示
// 拼接跳转地址,因为要返回到当前页面传入参数
let
url_params
=
parseQueryString
(
location
.
href
);
let
str
=
`/admin/custom_flow/?form_id=
${
url_params
.
form_id
}
`
;
let
str
=
`/admin/custom_flow/
#/
?form_id=
${
url_params
.
form_id
}
`
;
let
refer_url
=
window
.
location
.
search
?
`?
${
window
.
location
.
search
}
`
+
`&refer_url=
${
encodeURIComponent
(
str
)}
`
:
`?refer_url=
${
encodeURIComponent
(
str
)}
`
;
window
.
location
.
href
=
location
.
origin
+
'/admin/'
+
refer_url
;
}
...
...
Please
register
or
login
to post a comment