Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
e917fcc2
Commit
e917fcc2
authored
Jul 12, 2023
by
李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify logo
parent
74871b38
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/components/bg-menu.vue
src/components/bg-menu.vue
+8
-0
src/page/login/index.vue
src/page/login/index.vue
+1
-0
No files found.
src/components/bg-menu.vue
View file @
e917fcc2
...
...
@@ -7,6 +7,9 @@
}">
<!-- LOGO -->
<router-link
to=
"/"
class=
"bg-logo"
>
<img
style=
"width: 22px; height: 22px"
:src=
"systemLogo ? JSON.parse(systemLogo)[0].url : getImageUrl('img_logo.png')"
/>
<span>
智能运维管理平台
</span>
</router-link>
...
...
@@ -82,6 +85,7 @@
import
{
mapState
,
mapMutations
}
from
"
vuex
"
;
import
{
clearCookie
}
from
"
../services/cookie.js
"
;
import
{
resetRouter
}
from
"
../router/index
"
;
import
{
getImageUrl
}
from
"
@/services/helper.js
"
;
import
{
normalizeProps
}
from
"
vue-demi
"
;
export
default
{
...
...
@@ -95,6 +99,7 @@ export default {
},
data
()
{
return
{
getImageUrl
,
documentScrollTop
:
0
,
cartList
:
[],
showCart
:
true
,
...
...
@@ -158,6 +163,9 @@ export default {
return
temp
;
},
}),
systemLogo
()
{
return
this
.
$store
.
state
.
systemLogo
;
},
},
watch
:
{
nameFlag
(
n
,
o
)
{
...
...
src/page/login/index.vue
View file @
e917fcc2
...
...
@@ -90,6 +90,7 @@ const getSysOptions = () => {
if
(
res
.
data
.
code
==
200
)
{
const
result
=
res
.
data
.
data
;
configOptions
.
value
=
result
;
store
.
commit
(
"
setSystemLogo
"
,
configOptions
.
value
.
logo
);
if
(
result
.
license_dead_date
&&
result
.
license_inform_day
)
{
calculateValidityDays
(
new
Date
().
getTime
(),
...
...
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