From a9c369655b17239515a33c9b0b0a568163e0e22c Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Fri, 21 Jun 2024 10:36:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=B8=8B=E9=92=BB=E5=A4=B1=E6=95=88=20#10351?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/components/canvas/customComponent/UserView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index 02a1dc53c3..ea6af2d3a5 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -1444,7 +1444,7 @@ export default { let mappingName = null if (this.chart.senior) { const senior = JSON.parse(this.chart.senior) - if (senior?.mapMapping[currentNode.code]) { + if (senior?.mapMapping?.[currentNode.code]) { const mapping = senior.mapMapping[currentNode.code] if (mapping[name]) { mappingName = mapping[name]