From 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 18 三月 2022 18:27:34 +0800
Subject: [PATCH] NFM606fix

---
 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