From 3513a9c14583d73addd06fe29b140ce1a1d60dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Thu, 9 May 2024 17:32:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dentity=E7=9A=84?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/advancedSearch/meta/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/advancedSearch/meta/parser.js b/src/components/advancedSearch/meta/parser.js index f43359a9..78d89da2 100644 --- a/src/components/advancedSearch/meta/parser.js +++ b/src/components/advancedSearch/meta/parser.js @@ -1203,7 +1203,7 @@ export default class Parser { return { key: '[' + key + ']', isKey: false } } } else if (lowerQ.indexOf(' in ') > -1) { - const key = q.substring(0, q.indexOf(' in ')) + const key = lowerQ.substring(0, lowerQ.indexOf(' in ')) const obj = this.columnList.find(t => t.label.toLowerCase() === key.toLowerCase()) if (obj) { return { key: obj.label + q.substring(lowerQ.indexOf(' in '), q.length), isKey: true }