From 0ddf497cdc0d1ea2d94a0efc9c077d1ebcffd0af Mon Sep 17 00:00:00 2001 From: Miao_Spring <539943419@qq.com> Date: Wed, 3 Jan 2024 20:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9F=A5=E8=AF=86=E5=BA=93?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniprogram/pages/index/index.ts | 3 ++- project.private.config.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/miniprogram/pages/index/index.ts b/miniprogram/pages/index/index.ts index 6600de8..7310a90 100644 --- a/miniprogram/pages/index/index.ts +++ b/miniprogram/pages/index/index.ts @@ -1256,9 +1256,10 @@ Page({ return false } var key = e.detail.value + if(key==null)return for (var n of this.data.data_lib) { // console.log(n) - if (n.name.zh.includes(key) || n.name.en.toLowerCase().includes(key.toLowerCase()) || exf(n, key)) { + if (n.name.zh.includes(key)|| exf(n, key)) { // n.hidden = false; this.data.hidden_lib[n.name.zh] = false // console.log(n.name.zh) diff --git a/project.private.config.json b/project.private.config.json index 8638ce2..3b8e222 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -5,5 +5,5 @@ "compileHotReLoad": true, "urlCheck": false }, - "libVersion": "3.2.2" + "libVersion": "3.2.3" } \ No newline at end of file