From b26c02f9f1be4bf7e5c6fbb64ba3a2a13428c78f Mon Sep 17 00:00:00 2001
From: chensiAb <chenchenco03@163.com>
Date: Wed, 17 Apr 2024 15:37:16 +0800
Subject: [PATCH] fix:'删除小程序echarts文件,使用封装过得组件'

---
 plugins/echarts/CECharts.weapp.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/echarts/CECharts.weapp.vue b/plugins/echarts/CECharts.weapp.vue
index 59d43d6..7fc585a 100644
--- a/plugins/echarts/CECharts.weapp.vue
+++ b/plugins/echarts/CECharts.weapp.vue
@@ -38,7 +38,8 @@
     props: {
         canvasId: {
             type: String,
-            default: 'ec-canvas-' + ++canvasCount + '-' + parseInt(Math.random() * 10000),
+            default: () =>
+                'ec-canvas-' + ++canvasCount + '-' + parseInt(Math.random() * 10000),
         },
         disableTouch: {
             type: Boolean,

--
Gitblit v1.9.1