From 8c739c86e6c6142881ebb2b1615f6b5ccf9aca55 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 31 十月 2024 20:03:12 +0800 Subject: [PATCH] 查看试卷bug --- src/views/grade-list/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/grade-list/index.vue b/src/views/grade-list/index.vue index 3e865f1..c40a0d3 100644 --- a/src/views/grade-list/index.vue +++ b/src/views/grade-list/index.vue @@ -30,8 +30,8 @@ </div> <div class="card-footer flex justify-center mb-7 shrink-0"> - <el-pagination background layout="prev, pager, next" - :total="dataList.length" + <el-pagination background layout="prev, pager, next" + :total="dataList.length" :default-page-size="currentSize" :currentPage="currentIndex" :hide-on-single-page="true" @@ -65,6 +65,7 @@ loading.value = true; getGradeList({examName: searchText.value, pageIndex: currentIndex.value, pageSize: currentSize.value}).then(res => { dataList.value = res.data.list; + console.log(dataList.value, "wwww") loading.value = false; }).catch(err => { loading.value = false; @@ -89,4 +90,4 @@ :deep(.el-tabs__nav-wrap:after) { display: none; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0