From 2b99047683332624832c1dfcae596e957a710b7d Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 28 七月 2022 10:20:49 +0800
Subject: [PATCH] bug修复

---
 src/views/index/components/userCard.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/index/components/userCard.vue b/src/views/index/components/userCard.vue
index 144051e..17f85bb 100644
--- a/src/views/index/components/userCard.vue
+++ b/src/views/index/components/userCard.vue
@@ -1,7 +1,8 @@
 <template>
   <div class="userCard">
     <div class="profile">
-      <img src="/images/index/default.png" alt="" />
+      <img v-if="!userInfo" src="/images/index/default.png" alt="" />
+      <img v-else src="/images/index/8.jpg" style="border-radius: 50%" alt="" />
     </div>
     <div class="notification" v-if="!userInfo">
       Hi!璇�
@@ -25,7 +26,7 @@
 <script>
 export default {
   props: {
-    userBuyInfo:Object,
+    userBuyInfo: Object,
     userCardArr: {
       type: Array,
       default: () => {
@@ -34,14 +35,14 @@
             num: "_",
             label: "寰呬粯娆�",
           },
-          {
+          /*   {
             num: "_",
             label: "寰呯画璐�",
           },
           {
             num: "_",
             label: "娑堟伅涓績",
-          },
+          }, */
         ];
       },
     },

--
Gitblit v1.8.0