From 6afb492942b17ebdb80f8e57af1b0df7ba5ee821 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 09 四月 2026 15:29:50 +0800
Subject: [PATCH] fix: 版本更新修改

---
 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