From 14d58d256c831dcec71e0fa2f5282129bc0d8c54 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Mon, 29 Aug 2022 21:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4XML=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pal/pal/repository/designer/web/CoeDesignerWeb.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java index 8fabbfce..821c2394 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/web/CoeDesignerWeb.java @@ -3130,7 +3130,13 @@ public class CoeDesignerWeb extends ActionWeb { continue; } - upFileObject.getJSONArray(upfileModel.getShape_uuid()).add(object); + + String filename=upfileModel.getFileName().substring(upfileModel.getFileName().lastIndexOf(".")); + + if(!filename.equals(".xml")){ + upFileObject.getJSONArray(upfileModel.getShape_uuid()).add(object); + } + } } }