Ver código fonte

Pagination: fix current-change

Leopoldthecoder 7 anos atrás
pai
commit
c30d4b11d2
1 arquivos alterados com 1 adições e 1 exclusões
  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 }/>