修改 echart文件
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user