ggooalice před 2 roky
rodič
revize
4ef1dd02eb

+ 8 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/count/count.vue

@@ -88,7 +88,14 @@
             </template>
         </van-cell>
         <template v-else>
-            <van-cell v-for="item in showList" :key="item.id" :title="item.name" :value="item.department" title-style="color:#666"></van-cell>
+            <van-cell v-for="item in showList" :key="item.id" title-style="color:#666">
+                <template #title>
+                    <div style="text-align:center;">{{item.name}}</div>
+                </template>
+                <template #default>
+                    <div style="text-align:center;">{{item.department}}</div>
+                </template>
+            </van-cell>
         </template>
     </van-cell-group>
     <Footer page="index"></Footer>