From 11889edf7028e7a234d19ec33e7eff84c5863998 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 03 三月 2025 12:06:57 +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