wkyy hace 1 año
padre
commit
e53ed5993a
Se han modificado 1 ficheros con 1 adiciones y 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,