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
3 weeks ago
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:
0px
|
H:
0px
206 KB
|
W:
0px
|
H:
0px
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
src/assets/logo/logo_ks_old.png
0 → 100644
View file @
a6b9b55f
8.06 KB
This diff is collapsed.
Click to expand it.
src/layout/components/Sidebar/Logo.vue
View file @
a6b9b55f
...
...
@@ -10,7 +10,7 @@
>
<transition
name=
"sidebarLogoFade"
class=
"logo-header"
>
<router-link
class=
"sidebar-logo-link logo-header"
to=
"/"
>
<
!--
<img
:src=
"logo"
class=
"sidebar-logo"
/>
--
>
<
img
:src=
"logo"
class=
"sidebar-logo"
/
>
<h1
class=
"sidebar-title"
:style=
"
{
...
...
@@ -102,7 +102,7 @@ export default {
float
:
left
;
&
.sidebar-logo
{
width
:
2
50px
;
width
:
50px
;
height
:
50px
;
vertical-align
:
middle
;
margin-right
:
12px
;
...
...
This diff is collapsed.
Click to expand it.
src/utils/request.js
View file @
a6b9b55f
...
...
@@ -78,17 +78,19 @@ service.interceptors.response.use(res => {
}
if
(
code
===
401
)
{
if
(
!
isRelogin
.
show
)
{
isRelogin
.
show
=
true
;
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
isRelogin
.
show
=
true
;
MessageBox
.
confirm
(
'
登录状态已过期,您可以继续留在该页面,或者重新登录
'
,
'
系统提示
'
,
{
confirmButtonText
:
'
重新登录
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
// location.href = '/index';
})
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
store
.
dispatch
(
'
LogOut
'
).
then
(()
=>
{
// location.href = '/index';
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
})
}).
catch
(()
=>
{
isRelogin
.
show
=
false
;
});
}
});
}
location
.
href
=
'
http://yj.hylgzl.com/login
'
;
// 山西华远大屏
return
Promise
.
reject
(
'
无效的会话,或者会话已过期,请重新登录。
'
)
}
else
if
(
code
===
500
)
{
Message
({
message
:
msg
,
type
:
'
error
'
})
...
...
This diff is collapsed.
Click to expand it.
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