Explorar o código

helper,基础判断方法修正

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
0a00ccf4bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/extend/helper.js

+ 1 - 1
app/extend/helper.js

@@ -411,7 +411,7 @@ module.exports = {
      */
     numEqual(value1, value2) {
         if (value1 && value2) {
-            return Math.abs(value2 - value1) > zeroRange;
+            return Math.abs(value2 - value1) < zeroRange;
         }
         return (!value1 && !value2);