Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zh_zcb-ems
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
chen.yiwen
zh_zcb-ems
Commits
72354260
Commit
72354260
authored
Sep 11, 2023
by
wu.hui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 删除无用代码
parent
66f7abd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
index.js
src/js/index.js
+0
-11
No files found.
src/js/index.js
View file @
72354260
const
ua
=
navigator
.
userAgent
.
toLowerCase
()
const
testUA
=
(
regexp
)
=>
regexp
.
test
(
ua
)
const
isSafari
=
testUA
(
/safari/g
)
&&
!
testUA
(
/chrome/g
)
const
isWeChat
=
testUA
(
/micromessenger/g
)
// 用电量、上送电量
const
echart1Data
=
{
date
:
[
'8/17'
,
'8/18'
,
'8/19'
,
'8/20'
,
'8/21'
,
'8/22'
,
'8/23'
],
...
...
@@ -149,12 +144,6 @@ const echart6Data = {
],
}
// 顶部滚动数字数据
const
scrollNumData
=
{
beforeNumArr
:
[
0
,
0
,
0
,
0
],
afterNumArr
:
[
3.45
,
846.0
,
68
,
36465
],
}
// 中间球体数据
const
ballData
=
[
11
,
22
,
33
,
44
,
55
,
66
]
...
...
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