Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
48def614
Commit
48def614
authored
Jun 11, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ai-test'
parents
238f4ad7
ac25de78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
src/components/ai-test/scores/index.js
+10
-2
No files found.
src/components/ai-test/scores/index.js
View file @
48def614
...
...
@@ -55,6 +55,14 @@ class Scores extends Component {
}
}
componentDidUpdate
(
prevProps
,
prevState
)
{
if
(
this
.
props
.
user
.
hasError
!==
prevProps
.
user
.
hasError
)
{
this
.
getUserScores
(
0
)
this
.
getUserAddress
()
}
}
handleChange
=
(
e
)
=>
{
const
isNeverSHow
=
e
.
target
.
checked
this
.
setState
({
...
...
@@ -243,9 +251,9 @@ class Scores extends Component {
<
div
>
<
span
>
仅显示前
50
名
<
/span
>
<
a
href
=
"javascript:void(0);"
onClick
=
{()
=>
{
if
(
user
.
hasError
)
{
if
(
user
.
hasError
)
{
history
.
push
(
'/passport'
)
}
else
{
}
else
{
this
.
setState
({
isShowUserAddress
:
true
,
})
...
...
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