Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
f5e12f9c
Commit
f5e12f9c
authored
Jun 20, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 浙数项目方配置修改、图片宽度设置
parent
b9d7c75f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.env.zheshu
.env.zheshu
+2
-0
index.vue
src/components/Menu/index.vue
+1
-2
No files found.
.env.zheshu
View file @
f5e12f9c
VITE_loginIconSrc=/images/common/zheshu-logo.png
VITE_loginIconSrc=/images/common/zheshu-logo.png
VITE_menuTopIconSrc=/images/common/zheshu-logo.png
VITE_menuTopIconSrc=/images/common/zheshu-logo.png
VITE_menuTopIconWidth=100px
VITE_hiddeRecharge=0
VITE_hiddeRecharge=0
VITE_hideHome=1
VITE_hideHome=1
VITE_simpleAvatarClickMenu=1
VITE_simpleAvatarClickMenu=1
\ No newline at end of file
src/components/Menu/index.vue
View file @
f5e12f9c
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<img
<img
:src=
"logo"
:src=
"logo"
alt=
""
alt=
""
style=
"width: 161px"
:style=
"
{
:style=
"
{
width: iconWidth,
width: iconWidth,
}"
}"
...
@@ -62,7 +61,7 @@ const isMenuActive = (obj: typeof menuList[0]) => {
...
@@ -62,7 +61,7 @@ const isMenuActive = (obj: typeof menuList[0]) => {
};
};
const
logo
=
import
.
meta
.
env
.
VITE_menuTopIconSrc
as
string
;
const
logo
=
import
.
meta
.
env
.
VITE_menuTopIconSrc
as
string
;
const
iconWidth
=
import
.
meta
.
env
.
VITE_menuTopIconWidth
as
string
;
const
iconWidth
=
(
import
.
meta
.
env
.
VITE_menuTopIconWidth
as
string
)
||
"161px"
;
const
menuList
=
[
const
menuList
=
[
{
{
...
...
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