MaiXinRong 6 years atrás
parent
commit
5cee1cca94
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/public/js/zh_calc.js

+ 2 - 2
app/public/js/zh_calc.js

@@ -106,5 +106,5 @@ const ZhCalc = (function () {
     function round(value, decimal) {
         return value ? Decimal.round(value, decimal).toNumber() : null;
     };
-    return {plus, minus, times, divide, round}
-});
+    return {add, sub, mul, div, round}
+})();