Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bi
Project
Project
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
张苑
bi
Commits
cb194574
Commit
cb194574
authored
Sep 27, 2021
by
莫坚培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改分组数
parent
ad5e940e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dashboard.js
js/dashboard.js
+1
-1
No files found.
js/dashboard.js
View file @
cb194574
...
@@ -28,7 +28,7 @@ let requestLoopTimer = null // 轮询定时器
...
@@ -28,7 +28,7 @@ let requestLoopTimer = null // 轮询定时器
let
requestLoopDataPool
=
[]
// 各个组件实时刷新的请求数据,放到一个集合里,原来的多个组件请求合并成一个请求发送
let
requestLoopDataPool
=
[]
// 各个组件实时刷新的请求数据,放到一个集合里,原来的多个组件请求合并成一个请求发送
let
requestLoopStopFlag
=
false
// requestLoopDataPool请求中标志,正在请求时不进行下一波轮询,前一波请求完成才执行下一波
let
requestLoopStopFlag
=
false
// requestLoopDataPool请求中标志,正在请求时不进行下一波轮询,前一波请求完成才执行下一波
let
requestLoopTime
=
5000
// 轮询间隔时间
let
requestLoopTime
=
5000
// 轮询间隔时间
let
requestLoopGroupSliceNum
=
1
0
// 请求池requestLoopDataPool分组,每组多少个
let
requestLoopGroupSliceNum
=
3
0
// 请求池requestLoopDataPool分组,每组多少个
let
requestLoopGroupSliceRes
=
[]
// 分组结果
let
requestLoopGroupSliceRes
=
[]
// 分组结果
// 添加定时器
// 添加定时器
...
...
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