From 3b3bdd0baeb18a02caaf08191f3c9a3b82cfb581 Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Wed, 20 Jul 2022 16:19:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=2056689=20?= =?UTF-8?q?=20=E6=A0=87=E5=87=86=E6=AF=94=E5=AF=B9-=E6=9D=A1=E6=AC=BE?= =?UTF-8?q?=E6=AF=94=E5=AF=B9=20=E5=AD=97=E6=AE=B5=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standContrast/pages/comparisonClauses.vue | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/pages/localTool/standContrast/pages/comparisonClauses.vue b/src/pages/localTool/standContrast/pages/comparisonClauses.vue index d43bfe37b..605f9eb58 100644 --- a/src/pages/localTool/standContrast/pages/comparisonClauses.vue +++ b/src/pages/localTool/standContrast/pages/comparisonClauses.vue @@ -57,7 +57,9 @@ -
+
+ +
@@ -110,7 +112,9 @@ -
+
+ +
@@ -206,6 +210,7 @@ export default { }) } this.spinShow = true + let itemsEoPage = { oldItemId: this.saveItemId, newItemId: this.saveItemIdRight, @@ -215,8 +220,18 @@ export default { _this: this }, res => { this.comparisonFlag = '2' - this.leftString = res.data.leftString - this.rightString = res.data.rightString + this.leftString = [] + if((typeof res.data.leftString) === "string"){ + this.leftString.push(res.data.leftString) + }else { + this.leftString = res.data.leftString + } + this.rightString = [] + if((typeof res.data.rightString) === "string"){ + this.rightString.push(res.data.rightString) + }else { + this.rightString = res.data.rightString + } this.text = res.data.similarityDegree if (parseFloat(res.data.similarityDegree) < parseFloat('75%')) { this.textcontent = '不相似'