Explorar el Código

fix 已做的题

he2802 hace 4 años
padre
commit
dcf4249218
Se han modificado 1 ficheros con 1 adiciones y 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>