Happy-Coding-Clans / vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
https://happy-coding-clans.github.io/vue-easytable/
MIT License
3.69k stars 738 forks source link

[Bug Report] ve-pagination分页组件有一个小问题 #483

Closed wchbrad closed 2 years ago

wchbrad commented 2 years ago

选择要提交 issue 的库

vue-easytable

Issue 类型

Bug

Issue 标题

ve-pagination分页组件有一个小问题

仓库版本

v2.17.2

Vue 版本

2.6.11

浏览器

chrome 101.0.4951.67

系统类型

windows

重现链接

https://codesandbox.io/s/zxuf0j

重现步骤

1、对于最大60页的数据,【前往】输入6000,会自动转为60; 2、在1基础上再输入6000,不会自动再转为60了

期望的结果是什么?

超过最大页数的【前往】都自动转为最大页数

实际的结果是什么?

第二步操作不会自动转为最大页面,而是输入的页数 dp