zzz-pc-view 0.0.169 → 0.0.170
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 +1 -1
- package/src/index.es.js +3 -3
- package/src/index.umd.js +1 -1
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -4226,14 +4226,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
4226
4226
|
const init = () => {
|
|
4227
4227
|
const chartInstance = chartInstanceRef.value = ECharts.init(elRef.value, props.theme);
|
|
4228
4228
|
const setOption = chartInstance.setOption;
|
|
4229
|
-
const clear2 = chartInstance.clear;
|
|
4230
4229
|
chartInstance.setOption = function(...args) {
|
|
4231
|
-
setOption.call(
|
|
4230
|
+
setOption.call(this, ...args);
|
|
4232
4231
|
chartOption = args[0];
|
|
4233
4232
|
};
|
|
4233
|
+
const clear2 = chartInstance.clear;
|
|
4234
4234
|
chartInstance.clear = function() {
|
|
4235
4235
|
chartOption = void 0;
|
|
4236
|
-
clear2.call(
|
|
4236
|
+
clear2.call(this);
|
|
4237
4237
|
};
|
|
4238
4238
|
emit("ready", chartInstance);
|
|
4239
4239
|
setChartOption();
|