From 729120e79c4c26bf61a68656e2ba5a9cdccbf2b3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 23 五月 2024 21:35:58 +0800 Subject: [PATCH] 2024-05-23 --- 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