Browse Source

电池电量显示

xhj 3 năm trước cách đây
mục cha
commit
0a72d2638a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>