Преглед изворни кода

fix(订单表单): 修正获取客户列表错误消息的路径

yz пре 1 недеља
родитељ
комит
f79f9ce674
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/order-form/customer-select.vue

+ 1 - 1
src/components/order-form/customer-select.vue

@@ -308,7 +308,7 @@ export default {
             this.options = []
           }
         } else {
-          const errorMsg = response?.data?.msg || '获取客户列表失败'
+          const errorMsg = response?.data?.data?.msg || '获取客户列表失败'
           console.error('获取客户列表失败:', errorMsg)
           this.options = []
           this.$message.warning(errorMsg)