Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bianpoSys
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
bianpoSys
Commits
0d6a108d
Commit
0d6a108d
authored
Mar 03, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 超时跳转华远大屏登录也
parent
f5771cd3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
dist.zip
dist.zip
+0
-0
request.js
src/utils/request.js
+2
-1
request2.js
src/utils/request2.js
+2
-1
No files found.
dist.zip
0 → 100644
View file @
0d6a108d
File added
src/utils/request.js
View file @
0d6a108d
...
...
@@ -82,7 +82,8 @@ service.interceptors.response.use(res => {
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
location
.
href
=
'
/index
'
;
// location.href = '/index';
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
})
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
...
...
src/utils/request2.js
View file @
0d6a108d
...
...
@@ -82,7 +82,8 @@ service.interceptors.response.use(res => {
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
location
.
href
=
'
/index
'
;
// location.href = '/index';
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
})
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
...
...
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