From c8973c47ec0faa012ba8005ffacb59c4a0ea3d6f Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 09 一月 2024 14:14:06 +0800 Subject: [PATCH] 更新代码 --- Source/UBCS-WEB/src/views/integration/groupMapAttrXML.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/groupMapAttrXML.vue b/Source/UBCS-WEB/src/views/integration/groupMapAttrXML.vue index 91d746e..89c31da 100644 --- a/Source/UBCS-WEB/src/views/integration/groupMapAttrXML.vue +++ b/Source/UBCS-WEB/src/views/integration/groupMapAttrXML.vue @@ -93,11 +93,9 @@ rowUpdate(row, index, done) { // updateXMLName 淇敼鏂囦欢鍚� // groupMapAttrName 鍘熸枃浠跺悕 - const XMLParts = row.attrMapPath.split('/'); - const XMLLastPart = XMLParts[XMLParts.length - 1]; row.updateXMLName = row.groupMapAttrName.includes('.xml') ? row.groupMapAttrName : row.groupMapAttrName + '.xml'; - row.groupMapAttrName = XMLLastPart; + row.groupMapAttrName = this.tableData[index].groupMapAttrName; updateGroupMapXML(row).then(res => { this.$message({ -- Gitblit v1.9.3