Browse Source

Pagination: fix current-change

Leopoldthecoder 7 năm trước cách đây
mục cha
commit
c30d4b11d2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 }/>