Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
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
lihuizhen
ec-report-refactor
Commits
ac5cf17b
Commit
ac5cf17b
authored
Apr 28, 2022
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: old dataZoom is null
parent
05ea2f9f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
BarMixMap.vue
components/BarMixMap/BarMixMap.vue
+1
-1
HorizontalBar.vue
components/HorizontalBar/HorizontalBar.vue
+2
-2
LineMixBar.vue
components/LineMixBar/LineMixBar.vue
+2
-2
NormalBar.vue
components/NormalBar/NormalBar.vue
+2
-2
NormalLine.vue
components/NormalLine/NormalLine.vue
+2
-2
No files found.
components/BarMixMap/BarMixMap.vue
View file @
ac5cf17b
...
...
@@ -74,7 +74,7 @@
...
this
.
elementInfo
.
option
.
yAxis
,
data
:
this
.
dealSeriesData
(
series
).
categories
},
dataZoom
:
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
dataZoom
:
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
series
:
{
id
:
'associate'
,
type
:
'bar'
,
...
...
components/HorizontalBar/HorizontalBar.vue
View file @
ac5cf17b
...
...
@@ -49,7 +49,7 @@
...
this
.
elementInfo
.
option
.
tooltip
,
trigger
:
"axis"
},
dataZoom
:
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
dataZoom
:
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
series
:
this
.
dealSeriesData
(
series
)
}
chart
.
setOption
(
this
.
ec
.
option
)
...
...
@@ -84,7 +84,7 @@
const
{
categories
,
series
,
preview
,
images
}
=
this
.
elementData
.
dataList
this
.
$set
(
this
.
ec
.
option
,
'yAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
this
.
dealSeriesData
(
series
))
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
if
(
preview
)
{
this
.
cacheImages
(
images
)
}
...
...
components/LineMixBar/LineMixBar.vue
View file @
ac5cf17b
...
...
@@ -58,7 +58,7 @@
...
this
.
elementInfo
.
option
.
tooltip
,
trigger
:
"axis"
},
dataZoom
:
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
dataZoom
:
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
series
:
this
.
dealSeriesData
(
series
)
}
chart
.
setOption
(
this
.
ec
.
option
)
...
...
@@ -71,7 +71,7 @@
const
{
categories
,
series
}
=
this
.
elementData
.
dataList
this
.
$set
(
this
.
ec
.
option
,
'xAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
this
.
dealSeriesData
(
series
))
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
},
/**
* 处理数据
...
...
components/NormalBar/NormalBar.vue
View file @
ac5cf17b
...
...
@@ -44,7 +44,7 @@
...
this
.
elementInfo
.
option
.
tooltip
,
trigger
:
"axis"
},
dataZoom
:
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
dataZoom
:
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
series
:
this
.
dealSeriesData
(
series
)
}
chart
.
setOption
(
this
.
ec
.
option
)
...
...
@@ -57,7 +57,7 @@
const
{
categories
,
series
}
=
this
.
elementData
.
dataList
this
.
$set
(
this
.
ec
.
option
,
'xAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
this
.
dealSeriesData
(
series
))
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
},
/**
* 处理数据
...
...
components/NormalLine/NormalLine.vue
View file @
ac5cf17b
...
...
@@ -46,7 +46,7 @@
...
this
.
elementInfo
.
option
.
tooltip
,
trigger
:
"axis"
},
dataZoom
:
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
dataZoom
:
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[],
series
:
this
.
dealSeriesData
(
series
)
}
chart
.
setOption
(
this
.
ec
.
option
)
...
...
@@ -59,7 +59,7 @@
const
{
categories
,
series
}
=
this
.
elementData
.
dataList
this
.
$set
(
this
.
ec
.
option
,
'xAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
this
.
dealSeriesData
(
series
))
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
.
show
?
this
.
elementInfo
.
dataZoom
:
[])
},
/**
* 处理数据
...
...
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