wkyy hai 1 ano
pai
achega
e53ed5993a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/statistics/statistics.vue

+ 1 - 1
pages/statistics/statistics.vue

@@ -439,7 +439,7 @@
 				}).then((response) => {
 					uni.hideLoading();
 					this.alarmsForm = response.data;
-					this.alarmsPercent = alarmsForm.okNum/(alarmsForm.okNum+alarmsForm.errorNum)*100;
+					this.alarmsPercent = this.alarmsForm.okNum/(this.alarmsForm.okNum+this.alarmsForm.errorNum)*100;
 				}).catch(error => {
 					uni.showToast({
 						title: error,