<template> <div ref="echartsBox" class="chart" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts"; i
<template> <div :class="className" :style="{height:height,width:width}"/> </template> <script> import echarts from 'echarts' export default { props: {
重点的代码是eChart.off("click"); 在给ehcart绑定事件时,要先写上以上代码。
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号