From 3b1ce1683b369ebba6aa56b981b703c585195bd5 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 27 八月 2026 21:51:22 +0800
Subject: [PATCH] fix: 去除使用id作为编号
---
src/components/Echarts/echarts.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/components/Echarts/echarts.vue b/src/components/Echarts/echarts.vue
index 54a6c39..626f60d 100644
--- a/src/components/Echarts/echarts.vue
+++ b/src/components/Echarts/echarts.vue
@@ -203,6 +203,10 @@
clearInitTimer()
})
+defineExpose({
+ resize: windowResizeListener,
+})
+
// Watch all reactive props that affect the chart
watch(
() => [props.xAxis, props.yAxis, props.series, props.legend, props.tooltip, props.visualMap],
--
Gitblit v1.9.3