修改 echart文件

This commit is contained in:
GGJ
2024-01-18 20:29:38 +08:00
parent 3b8293d975
commit 94bf3db8f0
3 changed files with 13 additions and 30 deletions

View File

@@ -5,7 +5,7 @@
<script setup lang="ts">
import { onBeforeUnmount, onMounted, ref, defineExpose, watch } from 'vue'
// import echarts from './echarts'
import * as echarts from 'echarts'; // 全引入
import * as echarts from 'echarts' // 全引入
import 'echarts/lib/component/dataZoom'
@@ -146,8 +146,8 @@ const handlerYAxis = () => {
})
} else {
return {
...props.options.yAxis,
...temp
...temp,
...props.options.yAxis
}
}
}
@@ -178,8 +178,8 @@ const handlerXAxis = () => {
})
} else {
return {
...props.options.xAxis,
...temp
...temp,
...props.options.xAxis
}
}
}