From 537fc97695717b3db452ed52b1d4f7b475b393be Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期六, 01 三月 2025 14:54:05 +0800 Subject: [PATCH] 优化前端树结构性能问题 --- src/api/system/user.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index 9b949e9..2da13d4 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -96,7 +96,7 @@ return request({ url: '/system/user/profile/updatePwd', method: 'put', - params: data + data: data }) } @@ -105,6 +105,7 @@ return request({ url: '/system/user/profile/avatar', method: 'post', + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, data: data }) } -- Gitblit v1.9.3