fix:修改面授课列表信息分页展示问题

This commit is contained in:
wyx
2022-12-03 18:25:42 +08:00
parent 44e0ecf40a
commit 603c0b4c07

View File

@@ -113,9 +113,9 @@
:loading="tableDataTotal === -1 ? true : false"
:pagination="false"
/>
<div class="pa">
<div class="pa" style="display:flex;justify-content:center;padding:20px;">
<a-pagination
v-if="total > 10"
v-if="tableDataTotal > 10"
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
@@ -286,7 +286,7 @@ export default {
};
list(objn)
.then((res) => {
console.log(res.data.data.rows);
console.log('面授课列表', res.data.data);
let result = res.data.data;
state.tableDataTotal = result.total;
getClassData(result.rows);