From 304f9efb86e72eb3ce239fd69b2f4516b4438c6a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 09 四月 2026 15:29:59 +0800
Subject: [PATCH] Merge branch 'dev_new' of http://114.132.189.42:9002/r/product-inventory-APP-before into dev_new
---
src/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue b/src/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
index bdcbb9f..96734e8 100644
--- a/src/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
+++ b/src/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
@@ -869,7 +869,10 @@
const ctx = cfu.option[cid].context;
if(typeof ctx === "object" && !!!cfu.option[cid].update){
ctx.clearRect(0, 0, this.cWidth*this.pixel, this.cHeight*this.pixel);
- ctx.draw();
+ // 鏃х増 canvas 闇� draw() 涓婂睆锛沜anvas2d 鐨� CanvasRenderingContext2D 鏃� draw 鏂规硶
+ if (typeof ctx.draw === 'function') {
+ ctx.draw();
+ }
}
}
},
--
Gitblit v1.9.3