删除a-table自带分页
This commit is contained in:
parent
9632a7bcce
commit
4c60ba4ca7
|
@ -34,7 +34,7 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="tableContent" v-if="isShow">
|
<div class="tableContent" v-if="isShow">
|
||||||
<a-table :dataSource="tableData" :columns="tableLabel" bordered :loading="loading" size="middle" />
|
<a-table :dataSource="tableData" :columns="tableLabel" bordered :pagination="false" :loading="loading" size="middle" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -89,12 +89,8 @@ const tableLabel = ref([
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const rules: Record<string, Rule[]> = {
|
const rules: Record<string, Rule[]> = {
|
||||||
name: [
|
name: [{ required: true, message: '请输入学生姓名', trigger: 'change' }],
|
||||||
{ required: true, message: '请输入学生姓名', trigger: 'change' }
|
id: [{ required: true, message: '请输入学生学号', trigger: 'change' }],
|
||||||
],
|
|
||||||
id: [
|
|
||||||
{ required: true, message: '请输入学生学号', trigger: 'change' }
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
const url = ref({
|
const url = ref({
|
||||||
getData: '/cet_4/getDataByStudent',
|
getData: '/cet_4/getDataByStudent',
|
||||||
|
|
Loading…
Reference in New Issue