From c62724a2cdbafa3c660538955acbedafa5a01871 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 01 六月 2024 15:25:21 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/chart/antv-X6/index.jsx |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-X6/index.jsx b/src/tabviews/custom/components/chart/antv-X6/index.jsx
index ad2f38a..96770b5 100644
--- a/src/tabviews/custom/components/chart/antv-X6/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-X6/index.jsx
@@ -1938,6 +1938,16 @@
           this.selectNode.attr('line/strokeDasharray', 0)
         }
       } else if (key === 'mkdata') {
+        if (!node.mkdata) {
+          if (node.target && node.target.cell) {
+            let cell = this.mkGraph.getCellById(node.target.cell)
+
+            if (cell) {
+              cell.prop('mkdata', {status: value.status, statusName: value.statusName || ''})
+            }
+          }
+        }
+
         this.selectNode.prop('mkdata', value)
       }
     } else if (node.shape === 'lane') {

--
Gitblit v1.8.0