Explorar o código

fix 已做的题

he2802 %!s(int64=4) %!d(string=hai) anos
pai
achega
dcf4249218
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages2/bank/question_detail.vue

+ 1 - 1
pages2/bank/question_detail.vue

@@ -10,7 +10,7 @@
 								<text>总进度</text>
 							</view>
 							<view class="percent">
-								{{goodsCount.totalNum>0?(goodsCount.doNum/goodsCount.totalNum * 100):0}}
+								{{goodsCount.totalNum>0?(goodsCount.doNum/goodsCount.totalNum * 100).toFixed(1):0}}
 								<text class="per">%</text>
 							</view>
 						</view>