Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DC-TOM
Project
Project
Details
Activity
Releases
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
刘照晖
DC-TOM
Commits
612e513f
Commit
612e513f
authored
Jun 05, 2025
by
liuzhaoh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决0值tooltip不显示问题
parent
80de6725
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
chart.js
src/utils/chart.js
+1
-1
index.vue
src/views/dustMonitoring/index.vue
+1
-1
No files found.
src/utils/chart.js
View file @
612e513f
...
...
@@ -217,7 +217,7 @@ export const getLineOption2 = (xData = [], seriesData = [], legendDesc = "健康
},
grid
:
{
left
:
"12%"
,
right
:
"5
%
"
,
right
:
"5
0
"
,
bottom
:
"15%"
,
top
:
"20%"
,
},
...
...
src/views/dustMonitoring/index.vue
View file @
612e513f
...
...
@@ -204,7 +204,7 @@ const chartLinkageFun = (target) => {
Object
.
keys
(
chartInstance
).
forEach
((
key
)
=>
{
instanceList
.
push
(
chartInstance
[
key
]);
});
if
(
instanceList
.
length
<
3
)
return
;
//
if (instanceList.length
<
3
)
return
;
instanceList
.
forEach
((
item
)
=>
{
item
.
off
(
"showTip"
);
item
.
off
(
"globalout"
);
...
...
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