From b80932ceb4dd7e69b8ea18bb0805e0cf23464862 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 07 May 2025 13:27:13 +0800
Subject: [PATCH] 菜单搜索支持键盘选择&悬浮主题背景
---
ruoyi-ui/src/api/system/user.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index f2f76ef..b5e3edd 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/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