ソースを参照

💄 修改数据统计细节问题

快乐的梦鱼 2 週間 前
コミット
b0aa86a77e
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  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"