From 13404cf208a9073fd856aacf16866bc788d1e3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E9=87=91=E6=B3=BD?= <1098696801@qq.com> Date: Tue, 1 Feb 2022 19:04:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/magic-api/api/后台/用户管理/个人信息修改.ms | 4 ++-- magic-boot-ui/src/layout/components/Navbar.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/magic-api/api/后台/用户管理/个人信息修改.ms b/data/magic-api/api/后台/用户管理/个人信息修改.ms index e0a87cc..327df88 100644 --- a/data/magic-api/api/后台/用户管理/个人信息修改.ms +++ b/data/magic-api/api/后台/用户管理/个人信息修改.ms @@ -5,7 +5,7 @@ "groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a", "name" : "个人信息修改", "createTime" : null, - "updateTime" : 1643710989215, + "updateTime" : 1643713357950, "lock" : "0", "method" : "POST", "path" : "/center/update", @@ -31,4 +31,4 @@ var data = { if(newPassword){ data.password = newPassword ? SaSecureUtil.sha256(newPassword) : '' } -return db.table('sys_user').primary('id').update(data) \ No newline at end of file +return db.table('sys_user').primary('id').update(data, true) \ No newline at end of file diff --git a/magic-boot-ui/src/layout/components/Navbar.vue b/magic-boot-ui/src/layout/components/Navbar.vue index 5b99b88..8fc96c2 100644 --- a/magic-boot-ui/src/layout/components/Navbar.vue +++ b/magic-boot-ui/src/layout/components/Navbar.vue @@ -16,7 +16,7 @@
- + {{ $store.getters.username }}({{ $store.getters.name }})