Skip to content

Commit

Permalink
rename variable (element-plus#10503)
Browse files Browse the repository at this point in the history
In version 2.2.17, use currentPage can't bind variable to current page.

fix(components): [input] input width change by clearable (element-plus#7287)
  • Loading branch information
wangyuhuiever authored and MrWeilian committed Nov 8, 2022
1 parent 75a088b commit 21a927c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/examples/pagination/more-elements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="demo-pagination-block">
<div class="demonstration">Total item count</div>
<el-pagination
v-model:currentPage="currentPage1"
v-model:current-page="currentPage1"
:page-size="100"
:small="small"
:disabled="disabled"
Expand All @@ -32,7 +32,7 @@
<div class="demo-pagination-block">
<div class="demonstration">Change page size</div>
<el-pagination
v-model:currentPage="currentPage2"
v-model:current-page="currentPage2"
v-model:page-size="pageSize2"
:page-sizes="[100, 200, 300, 400]"
:small="small"
Expand All @@ -47,7 +47,7 @@
<div class="demo-pagination-block">
<div class="demonstration">Jump to</div>
<el-pagination
v-model:currentPage="currentPage3"
v-model:current-page="currentPage3"
v-model:page-size="pageSize3"
:small="small"
:disabled="disabled"
Expand All @@ -61,7 +61,7 @@
<div class="demo-pagination-block">
<div class="demonstration">All combined</div>
<el-pagination
v-model:currentPage="currentPage4"
v-model:current-page="currentPage4"
v-model:page-size="pageSize4"
:page-sizes="[100, 200, 300, 400]"
:small="small"
Expand Down
5 changes: 5 additions & 0 deletions packages/theme-chalk/src/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@
> :first-child, :nth-child(2) {
margin-left: 8px;
}
> :nth-child(2) {
.#{$namespace}-input__count-inner {
padding-left: 0;
}
}
}
}
}
Expand Down

0 comments on commit 21a927c

Please sign in to comment.