From a0db9c7ed5ca729db20b97051ff899828d8bc49b Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 11 Jul 2025 14:21:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(dms):=20=E4=BF=AE=E6=AD=A3=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 getUserList 接口返回值中的 rows 属性修改为 data 属性- 确保 userList.value能正确获取用户列表数据 --- src/views/dms/dmsPlanMaint/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dms/dmsPlanMaint/index.vue b/src/views/dms/dmsPlanMaint/index.vue index a04594d..26c4c76 100644 --- a/src/views/dms/dmsPlanMaint/index.vue +++ b/src/views/dms/dmsPlanMaint/index.vue @@ -534,7 +534,7 @@ const getLubeStandards = async () => { /** 获取用户列表 */ const getUser = async () => { const res = await getUserList(null); - userList.value = res.rows || []; + userList.value = res.data || []; }