From 554ea194fa4332e97c3def7e010acecde26b48d5 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 28 八月 2025 10:17:04 +0800 Subject: [PATCH] 前端页面的修改 --- 项目代码/前端/后台/src/api/newapi/user.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\211\215\347\253\257/\345\220\216\345\217\260/src/api/newapi/user.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\211\215\347\253\257/\345\220\216\345\217\260/src/api/newapi/user.js" index 208b74c..8e7eb85 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\345\211\215\347\253\257/\345\220\216\345\217\260/src/api/newapi/user.js" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\345\211\215\347\253\257/\345\220\216\345\217\260/src/api/newapi/user.js" @@ -24,7 +24,8 @@ //淇敼瀵嗙爜 id=${data.id}& export const UpdatePassword = (data) => request.post({ url: `/api/User/modifyPwd?newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` }) // -export const UpdatePwd = (data) => request.post({ url: `/api/User/UpdatePwd?id=${data.id}&newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` }) +// export const UpdatePwd = (data) => request.post({ url: `/api/User/UpdatePwd?id=${data.id}&newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` }) +export const UpdatePwd = (data) =>http.post(`/api/User/UpdatePwd?id=${encodeURIComponent(data.id)}&newPwd=${encodeURIComponent(data.newPwd)}&oldPwd=${encodeURIComponent(data.oldPwd)}`) //瀵煎嚭鐢ㄦ埛鍒楄〃 export const ExportApi = (data) => http.download("/api/User/Export", data, "鐢ㄦ埛鍒楄〃鏁版嵁.xlsx", "鍔犺浇涓�"); -- Gitblit v1.9.3