Kaynağa Gözat

💄 修改数据统计细节问题

快乐的梦鱼 2 hafta önce
ebeveyn
işleme
b0aa86a77e
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      src/views/HomeView.vue
  2. 1 1
      src/views/InheritorView.vue

+ 1 - 1
src/views/HomeView.vue

@@ -39,7 +39,7 @@
             >
               <div :class="`main-card-box type${stat.type}`">
                 <div class="content">
-                  <h4>{{ stat.title }}</h4>
+                  <h4>{{ stat.title || '\u200b' }}</h4>
                   <div class="descs">
                     <div 
                       v-for="(data, key2) in stat.datas"

+ 1 - 1
src/views/InheritorView.vue

@@ -28,7 +28,7 @@
             >
               <div :class="`main-card-box type${stat.type}`">
                 <div class="content">
-                  <h4>{{ stat.title }}</h4>
+                  <h4>{{ stat.title || '\u200b' }}</h4>
                   <div class="descs">
                     <div 
                       v-for="(data, key2) in stat.datas"