Browse Source

a-list分页

canghailong 6 tháng trước cách đây
mục cha
commit
af89eda136

+ 1 - 0
src/views/student/classCollect/index.vue

@@ -29,6 +29,7 @@
 		current: 1,
 		onChange: (page) => {
 			pagination.value.current = page
+			pagination.value.pageSize = size
 			getList(page)
 		},
 		pageSize: 10

+ 1 - 0
src/views/student/classNotice/index.vue

@@ -19,6 +19,7 @@
 		current: 1,
 		onChange: (page) => {
 			pagination.value.current = page
+			pagination.value.pageSize = size
 			getList()
 		},
 		pageSize: 10

+ 2 - 1
src/views/student/learningFootprint/index.vue

@@ -21,8 +21,9 @@
 	const listData = ref([])
 	const pagination = ref({
 		current: 1,
-		onChange: (page) => {
+		onChange: (page,size) => {
 			pagination.value.current = page
+			pagination.value.pageSize = size
 			getList()
 		},
 		pageSize: 10

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
stats.html


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác