From 196b49c68e2bf451f01225fb7df63f6135d6661d Mon Sep 17 00:00:00 2001 From: qinoy Date: Wed, 15 Feb 2023 17:40:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=BD=A2=E6=95=B0=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=A7=84=E5=88=99=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/designer/scripts/diagraming/designer.core.debug.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js index cdc0d17b..8b2551d6 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.debug.js @@ -4069,18 +4069,18 @@ var Designer = { } } var key = q.name; - if (specialShapeConfig == undefined || specialShapeConfig.length == 0) { + if (specialShapeConfig == undefined) { if (commonShapeConfig != undefined && commonShapeConfig[key] != undefined) { commonShapeConfig = commonShapeConfig[key]; this.handleShapeConfigData(commonShapeConfig, q, attributesJsonArray); } } else { - if (commonShapeConfig == undefined || commonShapeConfig.length == 0) { + if (commonShapeConfig == undefined) { this.handleShapeConfigData(Utils.copy(specialShapeConfig), q, attributesJsonArray); } else { commonShapeConfig = commonShapeConfig[key]; var tempCommonShapeConfig = []; - if (commonShapeConfig != undefined && commonShapeConfig.length > 0) { + if (commonShapeConfig != undefined) { var dataArray = []; var tempArray = []; for (i = 0; i < commonShapeConfig.length; i++) {