From 179cac9a973ccb7000d5fd345ba60de37821a6fa Mon Sep 17 00:00:00 2001 From: x ronger Date: Mon, 14 Sep 2020 20:41:21 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF,=E5=A4=B4=E5=83=8F=E8=A2=AB=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/settings/account.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/user/settings/account.vue b/pages/user/settings/account.vue index 6a68e32..3ee1237 100644 --- a/pages/user/settings/account.vue +++ b/pages/user/settings/account.vue @@ -119,7 +119,7 @@ if (res && res.data && res.data.url) { let user = _ts.user; user.avatarUrl = res.data.url; - user.avatarType = ''; + user.avatarType = '0'; _ts.$set(_ts, 'user', user); _ts.$set(_ts, 'svgShow', false); _ts.$set(_ts, 'avatarUrl', res.data.url); @@ -149,6 +149,7 @@ } else { _ts.$set(_ts, 'user', res.user); _ts.$set(_ts, 'avatarUrl', res.user.avatarUrl); + _ts.$set(_ts, 'svgShow', false); } } })