ソースを参照

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)