feat: vnTable template

This commit is contained in:
Javier Segarra 2024-07-16 12:22:01 +02:00
parent 5fbbd27273
commit ace529a4ba
1 changed files with 6 additions and 6 deletions

View File

@ -175,7 +175,7 @@ function columnName(col) {
} }
function getColAlign(col) { function getColAlign(col) {
return 'text-' + (col.align ?? 'left') return 'text-' + (col.align ?? 'left');
} }
defineExpose({ defineExpose({
reload, reload,
@ -207,12 +207,12 @@ defineExpose({
v-model="params[columnName(col)]" v-model="params[columnName(col)]"
:search-url="searchUrl" :search-url="searchUrl"
/> />
<slot
name="moreFilterPanel"
:params="params"
:columns="splittedColumns.columns"
/>
</template> </template>
<slot
name="moreFilterPanel"
:params="params"
:columns="splittedColumns.columns"
/>
</VnFilterPanel> </VnFilterPanel>
</QScrollArea> </QScrollArea>
</QDrawer> </QDrawer>