Explorar el Código

💄 修改数据统计细节问题

快乐的梦鱼 hace 2 semanas
padre
commit
b0aa86a77e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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"