ZhangXianQiang
2024-07-05 98f494cf633e3acf5c20f3e9de0d708f2a6c2045
src/views/exam-list/index.vue
@@ -32,7 +32,11 @@
              </div>
              <div class="card-footer flex justify-center mb-7 shrink-0">
                <el-pagination background layout="prev, pager, next" :total="1000" />
                <el-pagination background layout="prev, pager, next" :total="dataList.length"
                :default-page-size="20"
                :currentPage="currentIndex"
                :hide-on-single-page="true"
                @current-change="handleCurrentChange"/>
              </div>
            </div>
          </el-card>
@@ -78,6 +82,10 @@
const handleClick = (tab, event) => {
};
const handleCurrentChange = (val) => {
  getData();
}
</script>
<style lang="scss" scoped>