Procházet zdrojové kódy

电池电量显示

xhj před 3 roky
rodič
revize
0a72d2638a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      components/cell/index.vue

+ 1 - 1
components/cell/index.vue

@@ -8,7 +8,7 @@
 						<view :class="'cell-qs'+(soc>50?' full':'')" :style="'height:'+ soc+'%'"></view>
 					</view>
 				</view>
-				<view class="soc-label">
+				<view class="soc-label" v-if="showsoc">
 					{{soc}}%
 				</view>
 			</view>