diff --git a/src/api/system/user.js b/src/api/system/user.js index 2d35d0b..66b055d 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -77,3 +77,11 @@ export const updatePassword = (oldPassword, newPassword, newPassword1) => { } }) } + +export const updateInfo = (row) => { + return request({ + url: '/api/blade-user/update-info', + method: 'post', + data: row + }) +} diff --git a/src/views/system/userinfo.vue b/src/views/system/userinfo.vue index e1bde7c..ca6dbd2 100644 --- a/src/views/system/userinfo.vue +++ b/src/views/system/userinfo.vue @@ -11,7 +11,7 @@