ソースを参照

Pagination: fix current-change

Leopoldthecoder 7 年 前
コミット
c30d4b11d2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/pagination/src/pagination.js

+ 1 - 1
packages/pagination/src/pagination.js

@@ -242,7 +242,7 @@ export default {
               value={ this.$parent.internalCurrentPage }
               domPropsValue={ this.$parent.internalCurrentPage }
               type="number"
-              onInput={ this.handleChange }
+              onChange={ this.handleChange }
               onFocus={ this.handleFocus }
               onBlur={ this.handleBlur }
               nativeOnKeyup={ this.handleKeyUp }/>