Explorar o código

fix(controller): 三通弯计算(水平)
修正

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

+ 1 - 1
pages/formula/santongwanHorizontal.vue

xqd
@@ -74,7 +74,7 @@
                 /**
                  结果=次边高×1.414
                  */
-                this.rules.result.value = this.formData.cibianheight * 1.414
+                this.rules.result.value = this.formData.cibianheight * (this.$util.tan(45/2)+1)
                 this.roundRules();
                 this.$u.toast("请参考计算示意图")
             },