From 43d458b47f3340733a7bdb9be71c6e5c2fb6caf8 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 08 十二月 2025 10:46:11 +0800
Subject: [PATCH] 修改新增

---
 src/views/work/qualityInfo/infrastructureMng/maintainRecord/components/editDialog.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/work/qualityInfo/infrastructureMng/maintainRecord/components/editDialog.vue b/src/views/work/qualityInfo/infrastructureMng/maintainRecord/components/editDialog.vue
index bb898b4..034ffa9 100644
--- a/src/views/work/qualityInfo/infrastructureMng/maintainRecord/components/editDialog.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/maintainRecord/components/editDialog.vue
@@ -509,7 +509,7 @@
 const getUserList = async (companyId)=> {
   const res = await getEmployeeRecords({companyId: companyId})
   if(res.code == 200){
-    state.userList = res.data.list?res.data.list:[]
+    state.userList = res.data ? res.data :[]
   }else{
     ElMessage.warning(res.message)
   }

--
Gitblit v1.9.2