fix: remove max-height style from TableCandidate
This commit is contained in:
parent
ba392dec41
commit
e998de2b95
1 changed files with 3 additions and 2 deletions
|
|
@ -260,7 +260,6 @@ async function fetchData(loading: boolean = true) {
|
|||
total.value = data.total;
|
||||
maxPage.value = await Math.ceil(data.total / pageSize.value);
|
||||
maxPage.value = maxPage.value < 1 ? 1 : maxPage.value;
|
||||
|
||||
rows.value = [];
|
||||
data.data.map((r: any) => {
|
||||
rows.value.push({
|
||||
|
|
@ -402,6 +401,7 @@ onMounted(async () => {
|
|||
await fetchDataCom();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="toptitle text-dark col-12 row items-center">
|
||||
<q-btn
|
||||
|
|
@ -474,9 +474,9 @@ onMounted(async () => {
|
|||
</div>
|
||||
</q-card>
|
||||
</q-slide-transition>
|
||||
|
||||
<q-card flat bordered class="col-12 q-pt-sm">
|
||||
<TableCandidate
|
||||
style="max-height: 80vh"
|
||||
:rows="rows"
|
||||
:columns="columns"
|
||||
:filter="filter"
|
||||
|
|
@ -603,6 +603,7 @@ onMounted(async () => {
|
|||
</template>
|
||||
</TableCandidate>
|
||||
</q-card>
|
||||
|
||||
<q-dialog v-model="modal" persistent>
|
||||
<q-card style="min-width: 600px">
|
||||
<q-card-section class="row items-center q-py-sm">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue