From bde00f75784a5bfeffaf2eff531601dd1ed2a687 Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Tue, 27 Jan 2026 11:56:44 +0800 Subject: [PATCH] 修复班组表格查询两次 --- src/mes/teamInfo/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mes/teamInfo/index.js b/src/mes/teamInfo/index.js index 1b735b0..8ec7b3b 100644 --- a/src/mes/teamInfo/index.js +++ b/src/mes/teamInfo/index.js @@ -33,10 +33,10 @@ const teamInfoSid = "17086669370007136849817837261000"; let loginInfo = {}; // 业务层 const useTeamInfoEvent = props => { - const { formData, mesRefresh } = props; + const { formData, mesRefresh = true} = props; useEffect( async () => { - if (commonUtils.isNotEmptyArr(formData)) { + if (commonUtils.isNotEmptyArr(formData) && mesRefresh) { const colunmData = handleGetColumnData(formData, true); const result = await handleGetData(formData, true); const addState = { -- libgit2 0.22.2