From ad4e89e50926b75834f916d91f199447b319dc0e Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 5 Mar 2020 16:20:03 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.js | 8 ++++++++ src/views/system/userinfo.vue | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 @@