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
f61f2feb
Commit
f61f2feb
authored
Nov 09, 2022
by
wenli.huang@wuban.net.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
647846e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
App.js
src/App.js
+4
-4
No files found.
src/App.js
View file @
f61f2feb
...
...
@@ -198,17 +198,17 @@ class App extends Component {
})
}
else
if
(
startBlock
==
0
||
startBlock
==
""
||
startBlock
==
undefined
){
that
.
setState
({
startBlock
:
blockOld
,
count
:
count
+
1
,
requestDuration
:
requestDuration
*
(
count
+
1
)
startBlock
:
that
.
state
.
blockOld
,
count
:
that
.
state
.
count
+
1
,
requestDuration
:
that
.
state
.
requestDuration
*
(
that
.
state
.
count
+
1
)
})
}
that
.
setState
({
requestDuration
:
-
100
,
duration
:
-
10
,
},()
=>
{
fetch
(
`/api/graph_by_height_and_duration?height=
${
startBlock
}
&duration=
${
that
.
state
.
requestDuration
}
`
,{
// fetch(`/api/graph_by_height_and_duration?height=${startBlock}&duration=${requestDuration}`,{
method
:
'
GET
'
,
headers
:{
'
Content-Type
'
:
'
application/json;charset=UTF-8
'
...
...
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