From 5d1961d77268669a6a192139a79eb042524d3ae3 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Thu, 22 Aug 2024 16:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=AE=A2=E4=B8=8B=E5=8D=95=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=201.=E7=AD=9B=E9=80=89=E6=97=B6=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E5=A4=B4=E5=B0=BE=E7=A9=BA=E6=A0=BC=E6=9D=A5=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/components/table-diancan.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/table/components/table-diancan.vue b/src/views/table/components/table-diancan.vue index de21542..45713f6 100644 --- a/src/views/table/components/table-diancan.vue +++ b/src/views/table/components/table-diancan.vue @@ -1316,7 +1316,7 @@ export default { this.goods.list = this.$goodsData.records || []; } else { const newarr = this.$goodsData.records.filter((v) => - v.name.includes(newval) + v.name.includes(newval.trim()) ); this.search.list = newarr; this.goods.list = newarr.length ? newarr : this.$goodsData.records;