From c612e92b607281999600f207f244ba82fb883ba1 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 30 Oct 2020 17:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 1 + src/components/NavTop.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 390bc44..02251d1 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -630,6 +630,7 @@ export async function editsystemsetting(e?: any): Promise { const res = await put(`member/${store.state.userinfo.memberid}`,newdata); console.log(res) if(res.code == 0){ + location.reload(); message.success("修改成功") store.dispatch("setUserInfo"); return true; diff --git a/src/components/NavTop.vue b/src/components/NavTop.vue index eaf775a..bab71f2 100644 --- a/src/components/NavTop.vue +++ b/src/components/NavTop.vue @@ -23,7 +23,7 @@
- {{i.city}}{{i.gmt}} + {{i.city}}{{i.gmt}}
@@ -80,7 +80,7 @@
- {{i.name}} + {{i.name}}