mirror of https://github.com/ElemeFE/element
fix pagination docs (#1409)
parent
2b812d5fe2
commit
41f69d99cd
|
@ -51,7 +51,7 @@ Add more modules based on your scenario.
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage1"
|
||||
:page-size="100"
|
||||
layout="total, prev, pager, next"
|
||||
:total="1000">
|
||||
|
@ -62,7 +62,7 @@ Add more modules based on your scenario.
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage2"
|
||||
:page-sizes="[100, 200, 300, 400]"
|
||||
:page-size="100"
|
||||
layout="sizes, prev, pager, next"
|
||||
|
@ -74,7 +74,7 @@ Add more modules based on your scenario.
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage3"
|
||||
:page-size="100"
|
||||
layout="prev, pager, next, jumper"
|
||||
:total="1000">
|
||||
|
@ -85,7 +85,7 @@ Add more modules based on your scenario.
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage4"
|
||||
:page-sizes="[100, 200, 300, 400]"
|
||||
:page-size="100"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
|
@ -106,7 +106,10 @@ Add more modules based on your scenario.
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
currentPage: 5
|
||||
currentPage1: 5,
|
||||
currentPage2: 5,
|
||||
currentPage3: 5,
|
||||
currentPage4: 5
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +120,10 @@ Add more modules based on your scenario.
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
currentPage: 5
|
||||
currentPage1: 5,
|
||||
currentPage2: 5,
|
||||
currentPage3: 5,
|
||||
currentPage4: 5
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage1"
|
||||
:page-size="100"
|
||||
layout="total, prev, pager, next"
|
||||
:total="1000">
|
||||
|
@ -62,7 +62,7 @@
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage2"
|
||||
:page-sizes="[100, 200, 300, 400]"
|
||||
:page-size="100"
|
||||
layout="sizes, prev, pager, next"
|
||||
|
@ -74,7 +74,7 @@
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage3"
|
||||
:page-size="100"
|
||||
layout="prev, pager, next, jumper"
|
||||
:total="1000">
|
||||
|
@ -85,7 +85,7 @@
|
|||
<el-pagination
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="currentPage"
|
||||
:current-page="currentPage4"
|
||||
:page-sizes="[100, 200, 300, 400]"
|
||||
:page-size="100"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
|
@ -106,7 +106,10 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
currentPage: 5
|
||||
currentPage1: 5,
|
||||
currentPage2: 5,
|
||||
currentPage3: 5,
|
||||
currentPage4: 5
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -127,7 +130,10 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
currentPage: 5
|
||||
currentPage1: 5,
|
||||
currentPage2: 5,
|
||||
currentPage3: 5,
|
||||
currentPage4: 5
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue