From 75ebdf431a1251fa0e0b1125f438992646e0e97b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 02 Apr 2025 16:48:27 +0800 Subject: [PATCH] 数据控制器基类优化,跨页通讯支持发送给原地重开的新页,上一页支持通知所有前页 --- 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