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
496f01cf
Commit
496f01cf
authored
Aug 06, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1669acd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/modules/root/Header.jsx
+10
-7
No files found.
src/modules/root/Header.jsx
View file @
496f01cf
...
...
@@ -337,7 +337,7 @@ function Header(props) {
<
div
className=
'url-link'
onClick=
{
()
=>
{
window
.
open
(
`${LIVE_SHARE}store/index?id=${window.currentStoreUserInfo.storeId
||User.getStoreId()}&userId=${window.currentStoreUserInfo.userId||User.getUserId()}&enterpriseId=${window.currentStoreUserInfo.enterpriseId||
User.getEnterpriseId()}&from=admin&avatar=${avatar}`
);
window
.
open
(
`${LIVE_SHARE}store/index?id=${window.currentStoreUserInfo.storeId
|| User.getStoreId()}&userId=${window.currentStoreUserInfo.userId || User.getUserId()}&enterpriseId=${window.currentStoreUserInfo.enterpriseId ||
User.getEnterpriseId()}&from=admin&avatar=${avatar}`
);
}
}
>
{
'立即前往 >'
}
</
div
>
...
...
@@ -355,12 +355,15 @@ function Header(props) {
<
span
className=
'text'
>
分享学院
</
span
>
</
span
>
</
div
>
<
div
className=
'help'
>
<
a
href=
{
helpCenterUrl
}
target=
'_blank'
className=
'help-btn'
>
<
span
className=
'icon iconfont tool-tip-right'
>

</
span
>
<
span
className=
'text'
>
帮助中心
</
span
>
</
a
>
</
div
>
{
process
.
env
.
BRAND
==
'xiaomai'
&&
<
div
className=
'help'
>
<
a
href=
{
helpCenterUrl
}
target=
'_blank'
className=
'help-btn'
>
<
span
className=
'icon iconfont tool-tip-right'
>

</
span
>
<
span
className=
'text'
>
帮助中心
</
span
>
</
a
>
</
div
>
}
</
div
>
<
Dropdown
overlay=
{
userMenu
()
}
arrow
>
<
div
className=
'user'
>
...
...
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