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
2023-12-04 10:33:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d7d251dfbcdcd8429507517835927b91ecaf40a5
d7d251df
1 parent
35c6b8ea
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
doc/axios.js
doc/axios.js
View file @
d7d251d
/*
* @Date: 2023-10-27 11:12:24
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-04 10:
24:48
* @LastEditTime: 2023-12-04 10:
32:23
* @FilePath: /vue-flow-editor/doc/axios.js
* @Description: 文件描述
*/
...
...
@@ -63,10 +63,11 @@ axios.interceptors.response.use(
//
ElMessageBox
.
alert
(
'登录失效!将跳转到登录页面。'
,
'温馨提示'
,
{
confirmButtonText
:
'确定'
,
showClose
:
false
,
callback
:
action
=>
{
// session 失效需要重新登录
if
(
action
===
'confirm'
)
{
localStorage
.
setItem
(
'showConfirmation'
,
'0'
);
localStorage
.
setItem
(
'showConfirmation'
,
'0'
);
// 屏蔽显示点击刷新按钮时的提示
// 拼接跳转地址,因为要返回到当前页面传入参数
let
url_params
=
parseQueryString
(
location
.
href
);
let
str
=
`/admin/custom_flow/?form_id=
${
url_params
.
form_id
}
`
;
...
...
Please
register
or
login
to post a comment