Skip to content

Commit 8a21d8f

Browse files
committed
fix: change variaty option to huiChartOption
1 parent 090fe5d commit 8a21d8f

File tree

8 files changed

+7
-18
lines changed

8 files changed

+7
-18
lines changed

packages/vue/src/huicharts/huicharts-amap/src/autonavi-map.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'AutonaviMapChart',
19-
option: {}
18+
iChartName: 'AutonaviMapChart'
2019
}
2120
},
2221
mounted() {

packages/vue/src/huicharts/huicharts-bar/src/chart-bar.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'BarChart',
19-
option: {}
18+
iChartName: 'BarChart'
2019
}
2120
},
2221
methods: {

packages/vue/src/huicharts/huicharts-bmap/src/baidu-map.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'BaiduMapChart',
19-
option: {}
18+
iChartName: 'BaiduMapChart'
2019
}
2120
},
2221
methods: {

packages/vue/src/huicharts/huicharts-core/src/chart-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default {
129129
},
130130
data() {
131131
return {
132-
option: {},
132+
huiChartOption: {},
133133
eChartOption: {},
134134
renderOption: {},
135135
initOpts: {},

packages/vue/src/huicharts/huicharts-heatmap/src/chart-heatmap.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ import { $prefix } from '@opentiny/vue-common'
1313
export default {
1414
name: $prefix + 'ChartHeatmap',
1515
mixins: [Core],
16-
data() {
17-
return {
18-
option: {}
19-
}
20-
},
2116
computed: {
2217
iChartName() {
2318
const { type } = this.settings

packages/vue/src/huicharts/huicharts-histogram/src/chart-histogram.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'BarChart',
19-
option: {}
18+
iChartName: 'BarChart'
2019
}
2120
},
2221
methods: {

packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'SunburstChart',
19-
option: {}
18+
iChartName: 'SunburstChart'
2019
}
2120
},
2221
methods: {

packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export default {
1515
mixins: [Core],
1616
data() {
1717
return {
18-
iChartName: 'TreeChart',
19-
option: {}
18+
iChartName: 'TreeChart'
2019
}
2120
},
2221
methods: {

0 commit comments

Comments
 (0)