Element Plus version
1.0.2-beta.53
OS/Browsers version
chrome/83.0.4103.61
Vue version
3.1.2
Reproduction Link
https://codepen.io/xiaohai/pen/vYmEeGw
Steps to reproduce
点击 change 按钮, 激活页应该是第 5 页
总页数发生变化后, 没有重新计算分页的值
What is Expected?
https://codepen.io/xiaohai/pen/RwVNLoX
6条答案
按热度按时间x3naxklr1#
Translation of this issue:
Element Plus version
1.0.2-beta.53
OS/Browsers version
chrome/83.0.4103.61
Vue version
3.1.2
Reproduction Link
https://codepen.io/xiaohai/pen/vYmEeGw
Steps to reproduce
Click the change button and the activation page should be page 5
After the total number of pages changes, the pagination value is not recalculated
What is Expected?
https://codepen.io/xiaohai/pen/RwVNLoX
What is actually happening?
https://codepen.io/xiaohai/pen/vYmEeGw
omhiaaxx2#
minimum reproduction:
https://codepen.io/msidolphin/pen/JjNoMdW
qoefvg9y3#
We are working on a breaking change on
ElPagination
(which will be released ASAP), for now you can useVue.nextTick(() => { currentPage.value = 5 /* defer setter of currentPage */ })
as a temporary solution. Sorry for the inconvenience.mitkmikd4#
We are working on a breaking change on
ElPagination
(which will be released ASAP), for now you can useVue.nextTick(() => { currentPage.value = 5 /* defer setter of currentPage */ })
as a temporary solution. Sorry for the inconvenience.i want to help , but i found a trouble
this aria-current want to do something in currentPage?
ymdaylpp5#
aria-current want to do something in currentPage
That's an a11y feature. What's wrong with it?
cbeh67ev6#
aria-current want to do something in currentPage
That's an a11y feature. What's wrong with it?
thank you , just wondering