Procházet zdrojové kódy

修正代码风格

丁文涛 před 8 roky
rodič
revize
d74cb25205
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;