mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-17 05:30:52 +08:00
fix: fix event support for Vue 2, fix #510
This commit is contained in:
@ -272,7 +272,7 @@
|
||||
<script>
|
||||
/* eslint-disable no-console */
|
||||
import qs from "qs";
|
||||
import VChart from "../../dist/index.esm";
|
||||
import VChart from "../ECharts";
|
||||
|
||||
import * as echarts from "echarts/core";
|
||||
import {
|
||||
@ -397,11 +397,11 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
handleClick() {
|
||||
console.log("click from echarts");
|
||||
handleClick(...args) {
|
||||
console.log("click from echarts", ...args);
|
||||
},
|
||||
handleZrClick() {
|
||||
console.log("click from zrender");
|
||||
handleZrClick(...args) {
|
||||
console.log("click from zrender", ...args);
|
||||
},
|
||||
refresh() {
|
||||
// simulating async data from server
|
||||
|
Reference in New Issue
Block a user