From 84b24801b8e0e071589ea57b29e64f73e13b1c0c Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期一, 21 三月 2022 14:54:15 +0800
Subject: [PATCH] SWAG-CCEB67【委托】【重要】保有设备所属变更审批报错
---
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