使用全等判断 删除不需要的log

This commit is contained in:
白菜
2025-06-20 14:19:05 +08:00
parent 51a479923e
commit 48c93b3efd
6 changed files with 11 additions and 16 deletions

View File

@ -33,16 +33,11 @@ export default {
initChart() {
// ECharts 默认有提供了一个简单的加载动画。只需要调用 showLoading 方法显示。数据加载完成后再调用 hideLoading 方法隐藏加载动画。
this.chart = echarts.init(document.querySelector('#zddtChart'))
this.setOption([])
},
setOption(data) {
this.chart.setOption({
color:['#FFBD00'],
backgroundColor: 'transparent', //背景色
// tooltip: {
// trigger: 'item',
// show: true,
// },
geo: { //地理坐标系组件 地理坐标系组件用于地图的绘制,支持在地理坐标系上绘制
map: 'china', //地图类型 这儿展示的是中国地图
aspectScale: 0.85,