正常查询10条

This commit is contained in:
“zouyf” 2024-11-11 14:49:05 +08:00
parent 01ee2c8c85
commit cb910068e0
1 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ const fileLoading = ref(false); // 常规作业loading
// //
const BASE_LIMIT_COUT = 10; // const BASE_LIMIT_COUT = 50; //
const pageNoMore = computed( () => workResource.entpCourseWorkList.length >= pageParams.value.originCount+BASE_LIMIT_COUT ); const pageNoMore = computed( () => workResource.entpCourseWorkList.length >= pageParams.value.originCount+BASE_LIMIT_COUT );
const pageDisabled = computed(() => pageParams.value.loading || pageNoMore.value); const pageDisabled = computed(() => pageParams.value.loading || pageNoMore.value);
const pageParams = ref({ const pageParams = ref({
@ -967,7 +967,7 @@ const showExamAnalyseDrawer = (row) => {
const pageLoad = async() => { const pageLoad = async() => {
console.log("加载中...") console.log("加载中...")
paginationParams.pageNum ++ , paginationParams.pageNum ++ ,
paginationParams.pageSize = 2, //paginationParams.pageSize = 2,
await handleQueryFromEntpCourseWork(0); await handleQueryFromEntpCourseWork(0);
} }