From a35b0b523942a7ccb3c7a06b9803d551765f7388 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期三, 11 二月 2026 13:41:14 +0800
Subject: [PATCH] 销售台账新增第二个产品时,选择信息对应填写后,选择的数据展示到第一个产品去

---
 src/api/system/user.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index c2553cb..60f1913 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -33,10 +33,11 @@
 
 // 鐢ㄦ埛澶村儚涓婁紶
 export function uploadAvatar(data) {
-  return upload({
+  return request({
     url: '/system/user/profile/avatar',
-    name: data.name,
-    filePath: data.filePath
+    method: 'post',
+    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
+    data: data
   })
 }
 // 鏌ヨ鐢ㄦ埛鍒楄〃

--
Gitblit v1.9.3