From f471d6ad716dfc243933e4e6c746fe01eed0a3d9 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 10 五月 2026 11:10:38 +0800
Subject: [PATCH] fix: 修正客户列表接口返回数据解构错误
---
src/views/customerService/feedbackRegistration/components/formDia.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/customerService/feedbackRegistration/components/formDia.vue b/src/views/customerService/feedbackRegistration/components/formDia.vue
index 1fe4eb6..07bdd7a 100644
--- a/src/views/customerService/feedbackRegistration/components/formDia.vue
+++ b/src/views/customerService/feedbackRegistration/components/formDia.vue
@@ -391,13 +391,13 @@
// 鎵撳紑寮规
const openDialog =async (type, row) => {
// 璇锋眰澶氫釜鎺ュ彛锛岃幏鍙栨暟鎹�
- let res = await getAllCustomerList({
+ let { data } = await getAllCustomerList({
current: 1,
size: 1000,
total: 0,
});
- if(res.records){
- customerNameOptions.value = res.records.map(item => ({
+ if(data){
+ customerNameOptions.value = data.records.map(item => ({
label: item.customerName,
value: item.customerName,
id: item.id
--
Gitblit v1.9.3