Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
graph
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李伟@五瓣科技
graph
Commits
70f3d48b
Commit
70f3d48b
authored
Nov 09, 2022
by
wenli.huang@wuban.net.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
1f195d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
App.js
src/App.js
+3
-3
No files found.
src/App.js
View file @
70f3d48b
...
@@ -221,7 +221,7 @@ class App extends Component {
...
@@ -221,7 +221,7 @@ class App extends Component {
requestDuration
:
that
.
state
.
requestDuration
*
(
that
.
state
.
count
+
1
)
requestDuration
:
that
.
state
.
requestDuration
*
(
that
.
state
.
count
+
1
)
})
})
}
}
console
.
log
(
that
.
state
.
requestDuration
,
'
requestDurationfgfgf
'
)
console
.
log
(
that
.
state
.
requestDuration
,
'
startrequestDuration
'
)
console
.
log
(
startBlock
,
'
startBlock
'
)
console
.
log
(
startBlock
,
'
startBlock
'
)
console
.
log
(
that
.
state
.
count
,
'
count
'
)
console
.
log
(
that
.
state
.
count
,
'
count
'
)
fetch
(
`/api/graph_by_height_and_duration?height=
${
startBlock
}
&duration=
${
that
.
state
.
requestDuration
}
`
,{
fetch
(
`/api/graph_by_height_and_duration?height=
${
startBlock
}
&duration=
${
that
.
state
.
requestDuration
}
`
,{
...
@@ -271,8 +271,8 @@ class App extends Component {
...
@@ -271,8 +271,8 @@ class App extends Component {
requestDuration
:
that
.
state
.
requestDuration
*
(
that
.
state
.
endCount
+
1
)
requestDuration
:
that
.
state
.
requestDuration
*
(
that
.
state
.
endCount
+
1
)
})
})
}
}
console
.
log
(
that
.
state
.
requestDuration
,
'
requestDurationfgfgf
'
)
console
.
log
(
that
.
state
.
requestDuration
,
'
endrequestDuration
'
)
console
.
log
(
endBlock
,
'
start
Block
'
)
console
.
log
(
endBlock
,
'
end
Block
'
)
console
.
log
(
that
.
state
.
endCount
,
'
endCount
'
)
console
.
log
(
that
.
state
.
endCount
,
'
endCount
'
)
fetch
(
`/api/graph_by_height_and_duration?height=
${
endBlock
}
&duration=
${
that
.
state
.
requestDuration
}
`
,{
fetch
(
`/api/graph_by_height_and_duration?height=
${
endBlock
}
&duration=
${
that
.
state
.
requestDuration
}
`
,{
method
:
'
GET
'
,
method
:
'
GET
'
,
...
...
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