mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
样式调整
This commit is contained in:
@@ -214,7 +214,7 @@
|
|||||||
v-if="courseTableTotal > 0"
|
v-if="courseTableTotal > 0"
|
||||||
:show-total="total => `共 ${courseTableTotal} 条`"
|
:show-total="total => `共 ${courseTableTotal} 条`"
|
||||||
:showSizeChanger="true"
|
:showSizeChanger="true"
|
||||||
:pageSizeOptions="['10', '20', '30', '40']"
|
:pageSizeOptions="['5','10', '15', '20']"
|
||||||
:showQuickJumper="true"
|
:showQuickJumper="true"
|
||||||
:hideOnSinglePage="false"
|
:hideOnSinglePage="false"
|
||||||
:pageSize="coursePageSize"
|
:pageSize="coursePageSize"
|
||||||
@@ -586,13 +586,13 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const changeCoursePagination = (page) => {
|
const changeCoursePagination = (page, pageSize) => {
|
||||||
console.log('handleSizeChange page :', page + " , pageSize = " + pageSize);
|
console.log('handleSizeChange page :', page + " , pageSize = " + pageSize);
|
||||||
state.courseSearchParam.pageNo = page;
|
state.courseSearchParam.pageNo = page;
|
||||||
state.courseSearchParam.pageSize = page;
|
state.courseSearchParam.pageSize = page;
|
||||||
getCourseListByTag();
|
getCourseListByTag();
|
||||||
};
|
};
|
||||||
const changeCourseSizePagination = (page) => {
|
const changeCourseSizePagination = (page, pageSize) => {
|
||||||
console.log('changeCourseSizePagination page :', page + " , pageSize = " + pageSize);
|
console.log('changeCourseSizePagination page :', page + " , pageSize = " + pageSize);
|
||||||
state.courseSearchParam.pageNo = 1;
|
state.courseSearchParam.pageNo = 1;
|
||||||
state.courseSearchParam.pageSize = page;
|
state.courseSearchParam.pageSize = page;
|
||||||
|
|||||||
Reference in New Issue
Block a user