Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
88dbb461
Commit
88dbb461
authored
Jun 16, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/maolipeng/youhua' into rc
# Conflicts: # src/modules/root/Header.jsx
parents
60fae439
98b93d21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/modules/root/Header.jsx
+4
-4
No files found.
src/modules/root/Header.jsx
View file @
88dbb461
...
...
@@ -50,7 +50,7 @@ function Header(props) {
setStoreName
(
value
);
});
getStoreList
();
//
getTopLeftLogo()
getTopLeftLogo
()
},
[]);
useEffect
(()
=>
{
...
...
@@ -82,8 +82,8 @@ function Header(props) {
}
function
getTopLeftLogo
()
{
if
(
User
.
getToken
())
{
StoreService
.
getStoreDetail
({
storeId
:
User
.
getStoreId
})
if
(
User
.
getToken
())
{
StoreService
.
getStoreDetail
({
storeId
:
User
.
getStoreId
()
})
.
then
(
res
=>
{
setTopLeftLogo
(
res
.
result
.
logo
)
})
...
...
@@ -232,7 +232,7 @@ function Header(props) {
<
div
id=
"top-container"
className=
"top-container"
>
<
div
className=
"top top-nav"
>
<
div
>
<
img
src=
"https://image.xiaomaiketang.com/xm/WEsMPAYxAs.png"
className=
"logo"
alt=
""
/>
<
img
src=
{
topLeftLogo
}
className=
"logo"
alt=
""
/>
</
div
>
<
div
className=
"message-help"
>
{
list
.
length
?
(
...
...
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