From 96778f656fa80358c9d87e36a13e93fe994deadf Mon Sep 17 00:00:00 2001
From: yangjieke <yangjieke@prec-tech.com>
Date: 星期五, 18 三月 2022 19:41:26 +0800
Subject: [PATCH] 产品名称、型号的判断改为大小写敏感
---
force-app/main/default/pages/SearchVisitor.page | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/pages/SearchVisitor.page b/force-app/main/default/pages/SearchVisitor.page
index 4544db5..533f902 100644
--- a/force-app/main/default/pages/SearchVisitor.page
+++ b/force-app/main/default/pages/SearchVisitor.page
@@ -155,7 +155,7 @@
//2. inovke aws service
let contactAwsIds = new Set();
for(var key in contactInfo){
- if(contactInfo[key].lastName.includes(searchByLastName)){
+ if(contactInfo[key].lastName.indexOf(searchByLastName) != -1){
contactAwsIds.add(key);
}
}
--
Gitblit v1.9.1