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
6b2e7cf5
Commit
6b2e7cf5
authored
Aug 03, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理企微报错的问题
parent
f7552c07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/modules/root/Header.jsx
+6
-4
No files found.
src/modules/root/Header.jsx
View file @
6b2e7cf5
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-08-0
2 17:05:45
* @LastEditTime: 2021-08-0
3 19:27:30
* @Description:
*/
import
React
,
{
useRef
,
useContext
,
useEffect
,
useState
}
from
'react'
;
...
...
@@ -19,7 +19,7 @@ import CourseService from '@/domains/course-domain/CourseService';
import
qrcode
from
'@/libs/qrcode/qrcode.js'
;
import
Bus
from
'@/core/tbus'
;
import
ClickOutside
from
'../../components/ClickOutside'
;
import
WWOpenDataCom
from
'@/components/WWOpenDataCom'
;
//
import WWOpenDataCom from '@/components/WWOpenDataCom';
import
_
from
'underscore'
;
const
baseImg
=
'https://image.xiaomaiketang.com/xm/rJeQaZxtc7.png'
;
...
...
@@ -135,7 +135,8 @@ function Header(props) {
<
div
className=
'box'
>
<
Tooltip
title=
{
nickName
}
>
<
div
className=
'name'
>
<
WWOpenDataCom
type=
"userName"
openid=
{
nickName
}
/>
<
span
>
{
nickName
}
</
span
>
{
/* <WWOpenDataCom type="userName" openid={nickName}/> */
}
</
div
>
</
Tooltip
>
<
span
className=
'phone'
>
{
phone
}
</
span
>
...
...
@@ -378,7 +379,8 @@ function Header(props) {
src=
{
avatar
||
baseImg
}
/>
<
span
className=
'name'
>
<
WWOpenDataCom
type=
"userName"
openid=
{
nickName
}
/>
{
nickName
}
{
/* <WWOpenDataCom type="userName" openid={nickName}/> */
}
</
span
>
</
div
>
</
Dropdown
>
...
...
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