From 4e2a452df0dfce56a5b22614d7d4a727685d6b8f Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Fri, 22 May 2026 16:49:49 +0800 Subject: [PATCH] 1.修复刷脸人员 --- src/mobile/common/CommobileList.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mobile/common/CommobileList.js b/src/mobile/common/CommobileList.js index 488b91d..56b34ca 100644 --- a/src/mobile/common/CommobileList.js +++ b/src/mobile/common/CommobileList.js @@ -329,9 +329,9 @@ class CommobileList extends React.Component { { - const { isLoading, sEmployeeFace = 'A在卷凹车间已上班,B在卷凹车间已上班,C在卷凹车间已上班,D在卷凹车间已上班' } = this.state; + const { isLoading } = this.state; + const sEmployeeFace = commonUtils.isNotEmptyArr(slaveDataOld) ? slaveDataOld[0].sEmployeeFace : ''; - // 1. 加载中:只显示加载中 if (isLoading) { return (
@@ -341,7 +341,7 @@ class CommobileList extends React.Component { } // 2. 加载完成 → 判断是不是指定页面 - if (this.props.sModelsId === '172117190122117661213659540') { + if (this.props.sModelsId === '172117190122117661213659540' && sEmployeeFace) { const statusList = sEmployeeFace ?.split(',') ?.filter(item => item.trim() !== '') || []; -- libgit2 0.22.2