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
8362665f
authored
Sep 02, 2024
by
芋道源码
Committed by
Gitee
Sep 02, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!533 fix: delete href.includes('login?redirect=')
Merge pull request !533 from AhJindeg/hotfix/handleAuthorized
parents
a2b378b1
8547b28d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/config/axios/service.ts
+0
-4
No files found.
src/config/axios/service.ts
View file @
8362665f
...
...
@@ -206,10 +206,6 @@ const refreshToken = async () => {
const
handleAuthorized
=
()
=>
{
const
{
t
}
=
useI18n
()
if
(
!
isRelogin
.
show
)
{
// 如果已经到重新登录页面则不进行弹窗提示
if
(
window
.
location
.
href
.
includes
(
'login?redirect='
))
{
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