Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
shenshaokai
jinfa-admin
Commits
365f5696
Commit
365f5696
authored
Sep 13, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into v2
parents
b7c7adfb
f07114e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
Logo.tsx
src/layouts/components/Logo.tsx
+4
-6
No files found.
src/layouts/components/Logo.tsx
View file @
365f5696
import
React
,
{
useEffect
,
useState
}
from
'react'
import
styles
from
'../index.less'
import
logo
from
'@/asserts/logo.svg'
import
logoSmall
from
'@/asserts/logo-small.svg'
import
{
observer
}
from
'mobx-react'
import
{
store
}
from
'@/store'
import
{
GlobalConfig
}
from
'@/global/config'
;
const
{
indexStore
}
=
store
const
logoEle
:
React
.
FC
<
{}
>
=
()
=>
{
...
...
@@ -19,11 +17,11 @@ const logoEle: React.FC<{}> = () => {
<
p
>
{
showSmall
?
<
img
src=
{
logoSmall
}
alt=
"瓴犀"
/>
<
img
src=
{
GlobalConfig
.
site
.
siteInfo
.
logo
}
alt=
"瓴犀"
/>
:
<>
<
img
src=
{
logo
}
alt=
"瓴犀"
/>
<
span
>
平台后台
</
span
>
<
img
src=
{
GlobalConfig
.
site
.
siteInfo
.
logo
}
alt=
"瓴犀"
/>
<
span
>
{
GlobalConfig
.
site
.
siteInfo
.
name
}
</
span
>
</>
}
</
p
>
...
...
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