From a5355c38114640c5e54863ba14a1de6485ed38c0 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 05 Jun 2023 20:36:22 +0800 Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components --- 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