From 2f8a257efd2b64dc40666b0d332edb7824a9768d Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 27 四月 2025 09:58:29 +0800 Subject: [PATCH] remove all semicolons --- 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