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
a6b9b55f
Commit
a6b9b55f
authored
Mar 11, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
顶部栏图片更换
parent
0d6a108d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
logo_ks.png
src/assets/logo/logo_ks.png
+0
-0
logo_ks_old.png
src/assets/logo/logo_ks_old.png
+0
-0
Logo.vue
src/layout/components/Sidebar/Logo.vue
+2
-2
request.js
src/utils/request.js
+12
-10
No files found.
src/assets/logo/logo_ks.png
View replaced file @
0d6a108d
View file @
a6b9b55f
8.06 KB
|
W:
|
H:
206 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/logo/logo_ks_old.png
0 → 100644
View file @
a6b9b55f
8.06 KB
src/layout/components/Sidebar/Logo.vue
View file @
a6b9b55f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
>
>
<transition
name=
"sidebarLogoFade"
class=
"logo-header"
>
<transition
name=
"sidebarLogoFade"
class=
"logo-header"
>
<router-link
class=
"sidebar-logo-link logo-header"
to=
"/"
>
<router-link
class=
"sidebar-logo-link logo-header"
to=
"/"
>
<
!--
<img
:src=
"logo"
class=
"sidebar-logo"
/>
--
>
<
img
:src=
"logo"
class=
"sidebar-logo"
/
>
<h1
<h1
class=
"sidebar-title"
class=
"sidebar-title"
:style=
"
{
:style=
"
{
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
float
:
left
;
float
:
left
;
&
.sidebar-logo
{
&
.sidebar-logo
{
width
:
2
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-right
:
12px
;
margin-right
:
12px
;
...
...
src/utils/request.js
View file @
a6b9b55f
...
@@ -78,17 +78,19 @@ service.interceptors.response.use(res => {
...
@@ -78,17 +78,19 @@ service.interceptors.response.use(res => {
}
}
if
(
code
===
401
)
{
if
(
code
===
401
)
{
if
(
!
isRelogin
.
show
)
{
if
(
!
isRelogin
.
show
)
{
isRelogin
.
show
=
true
;
isRelogin
.
show
=
true
;
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
// location.href = '/index';
})
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
});
// location.href = '/index';
}
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
})
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
});
}
return
Promise
.
reject
(
'
无效的会话,或者会话已过期,请重新登录。
'
)
return
Promise
.
reject
(
'
无效的会话,或者会话已过期,请重新登录。
'
)
}
else
if
(
code
===
500
)
{
}
else
if
(
code
===
500
)
{
Message
({
message
:
msg
,
type
:
'
error
'
})
Message
({
message
:
msg
,
type
:
'
error
'
})
...
...
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