Explorar o código

Merge pull request #2035 from DingWentao1234/hotfix/fix-code-style

修正代码风格
baiyaaaaa %!s(int64=8) %!d(string=hai) anos
pai
achega
c968525da9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/input-number/src/input-number.vue

+ 1 - 1
packages/input-number/src/input-number.vue

@@ -183,7 +183,7 @@
         if (this.maxDisabled) return;
         const value = this.value || 0;
         if (this.accAdd(value, this.step) > this.max || this.disabled) return;
-        this.currentValue = this.accAdd(this.step, value);
+        this.currentValue = this.accAdd(value, this.step);
       },
       decrease() {
         if (this.minDisabled) return;