From 798b93b3cb726ace6e6f5cc2415ae1c3a59ef363 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 3 Mar 2022 18:28:00 +0800 Subject: [PATCH] BUG 27903 --- src/mods/AppCreditPoints/supermarket.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mods/AppCreditPoints/supermarket.vue b/src/mods/AppCreditPoints/supermarket.vue index 17762cb..ec7d386 100644 --- a/src/mods/AppCreditPoints/supermarket.vue +++ b/src/mods/AppCreditPoints/supermarket.vue @@ -126,7 +126,7 @@ export default { getUserInfo() { this.$instance.post(`/app/appresident/queryFamilyById?id=${this.user.residentId}`, null, {}).then(res => { - if (res.code === 0) { + if (res?.data) { this.userInfo = res.data } }) @@ -375,7 +375,7 @@ export default { top: 8px; height: 28px; line-height: 28px; - padding: 012px; + padding: 0 12px; color: #fff; font-size: 20px; border-radius: 13px;