From f28a12a67687f6fa519a99588e4daf4b6b9fb375 Mon Sep 17 00:00:00 2001 From: zhangyichen <5277314+zacty@user.noreply.gitee.com> Date: Mon, 28 Mar 2022 11:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=2052185=20=E6=B3=95?= =?UTF-8?q?=E8=A7=84=E6=B8=85=E5=8D=95--=E6=9F=A5=E7=9C=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E9=AB=98=E7=BA=A7=E6=9F=A5=E8=AF=A2=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=AE=8C=E6=B2=A1=E5=8F=8D=E5=BA=94=EF=BC=8C=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0=E6=B2=A1=E7=9C=8B=E8=A7=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/pages/details.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 7c1f2fcc1..9e1fb8f91 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -621,14 +621,14 @@ export default { const advanceSearchVOList = []; for (let key in formData) { const value = formData[key]; - if (value !== null && value !== '' && value.length > 0 && (key === 'SYRZ' || key === 'CLLX')) { + if (value !== null && value !== '' && value !== undefined && value !== [] && (key === 'SYRZ' || key === 'CLLX')) { advanceSearchVOList.push({ connect: "and", field: key || '', type: 'regexp', value: value.join(',') }); - } else if (value !== null && value !== '' && value.length > 0 && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) { + } else if (value !== null && value !== '' && value !== undefined && value !== [] && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) { advanceSearchVOList.push({ connect: "and", field: key || '',