Просмотр исходного кода

Pagination: fix current-change

Leopoldthecoder 7 лет назад
Родитель
Сommit
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 }/>