提交更改版本

This commit is contained in:
zhujiyan
2024-07-22 10:35:01 +08:00
parent 33a41b9d7a
commit bccf61c6d1
31 changed files with 180231 additions and 443 deletions

View File

@@ -20,8 +20,7 @@ const config = useConfig()
color[0] = config.layout.elementUiPrimary[0]
const chartRef = ref<HTMLDivElement>()
const props = defineProps(['options', 'isExport'])
const ExportOptions: any = ref({})
const props = defineProps(['options'])
let chart: echarts.ECharts | any = null
const resizeHandler = () => {
// 不在视野中的时候不进行resize
@@ -110,7 +109,6 @@ const initChart = () => {
handlerBar(options)
// 处理柱状图
chart.setOption(options)
ExportOptions.value = options
setTimeout(() => {
chart.resize()
}, 0)