Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
28c1e2d5
authored
Mar 23, 2025
by
芋道源码
Committed by
GitHub
Mar 23, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #134 from lb1565387341/liubei
解决重复登录问题
parents
41f2c719
81fb1771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/config/axios/service.ts
+4
-0
No files found.
src/config/axios/service.ts
View file @
28c1e2d5
...
...
@@ -201,6 +201,10 @@ const refreshToken = async () => {
const
handleAuthorized
=
()
=>
{
const
{
t
}
=
useI18n
()
if
(
!
isRelogin
.
show
)
{
// 如果已经到登录页面则不进行弹窗提示
if
(
window
.
location
.
href
.
includes
(
'login'
))
{
return
}
isRelogin
.
show
=
true
ElMessageBox
.
confirm
(
t
(
'sys.api.timeoutMessage'
),
t
(
'common.confirmTitle'
),
{
showCancelButton
:
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