vue2-client 1.8.60 → 1.8.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -138,10 +138,6 @@ export default {
|
|
|
138
138
|
if (!this.pieChart) {
|
|
139
139
|
this.pieChart = echarts.init(this.$refs.pieChart)
|
|
140
140
|
}
|
|
141
|
-
console.log(Object.assign(
|
|
142
|
-
this.commonOptions,
|
|
143
|
-
options
|
|
144
|
-
))
|
|
145
141
|
this.pieChart.setOption(Object.assign({},
|
|
146
142
|
this.commonOptions,
|
|
147
143
|
options
|
|
@@ -161,10 +157,15 @@ export default {
|
|
|
161
157
|
return { type: 'bar' }
|
|
162
158
|
})
|
|
163
159
|
}
|
|
164
|
-
|
|
165
|
-
this.
|
|
166
|
-
|
|
167
|
-
)
|
|
160
|
+
if (!this.columnChart) {
|
|
161
|
+
this.columnChart = echarts.init(this.$refs.columnChart)
|
|
162
|
+
}
|
|
163
|
+
this.columnChart.clear()
|
|
164
|
+
this.columnChart.setOption(Object.assign({},
|
|
165
|
+
this.commonOptions,
|
|
166
|
+
options
|
|
167
|
+
)
|
|
168
|
+
)
|
|
168
169
|
},
|
|
169
170
|
renderLineChart () {
|
|
170
171
|
const transformedData = this.transformDataForChart('line')
|