Explorar o código

fix(controller): 直角计算(4x22.5)修正

xiansin %!s(int64=3) %!d(string=hai) anos
pai
achega
f03a691f69
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pages/formula/rightAngle22.vue

+ 2 - 2
pages/formula/rightAngle22.vue

xqd
@@ -82,8 +82,8 @@
                 this.formData.dibian = parseFloat(this.formData.dibian)
                 this.formData.biangao = parseFloat(this.formData.biangao)
                 if(this.formData.dibian && this.formData.biangao){
-                    this.rules.xiebian.value = this.formData.dibian * 0.504;
-                    this.rules.slice.value = this.formData.biangao * 0.398
+                    this.rules.xiebian.value = this.formData.dibian * 0.50431448;
+                    this.rules.slice.value = this.formData.biangao * 0.39782475
                 }else{
                     this.$u.toast('请输入两个参数');
                 }