From 6a45de9dd2171f662f61927d4aba2a2358967acd Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 12 二月 2026 10:36:43 +0800
Subject: [PATCH] 进销存升级app: 1.确认消息后,页面展示乱码 2.消息通知页面样式修改与优化
---
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