From b41e050da257d0e0907db048ca2e94b55640bb63 Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Wed, 20 Jul 2022 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E3=80=900719=E3=80=91=E6=B5=B7=E5=A4=96=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=85=A5=E5=BA=93=20=E5=85=A5=E5=BA=93=E5=90=8E=20=E6=B5=B7?= =?UTF-8?q?=E5=A4=96=E6=B3=95=E8=A7=84=E5=BA=93=20=E5=9B=BD=E5=AE=B6?= =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 94d17a0fe..0795743b0 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -3045,7 +3045,16 @@ export default { this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item)) this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem]; if (item.country !== undefined && item.country !== null && item.country !== '') { - this.sarStandardsInfoEO.country = item.country.split(","); + if((typeof item.country) === 'string' && item.country.indexOf("[") !== -1 && item.country.indexOf("]") !== -1){ + const str = JSON.parse(item.country); + if((typeof str) === 'string'){ + this.sarStandardsInfoEO.country = str.split(","); + }else { + this.sarStandardsInfoEO.country = str + } + }else{ + this.sarStandardsInfoEO.country = item.country.split(","); + } } this.sarStandardsInfoEO.standSort = item.standSort if (this.sarStandardsInfoEO.putTime != null && this.sarStandardsInfoEO.putTime !== '') {