fix: refs #8197 vnTableFilter in vnTable
This commit is contained in:
parent
18fd41b82b
commit
0ab12d7b5d
|
@ -305,11 +305,17 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) {
|
|||
}
|
||||
</script>
|
||||
<template>
|
||||
<VnTableFilter
|
||||
<QDrawer
|
||||
v-if="$props.rightSearch"
|
||||
:data-key="$attrs['data-key']"
|
||||
:columns="columns"
|
||||
/>
|
||||
v-model="stateStore.rightDrawer"
|
||||
side="right"
|
||||
:width="256"
|
||||
show-if-above
|
||||
>
|
||||
<QScrollArea class="fit">
|
||||
<VnTableFilter :data-key="$attrs['data-key']" :columns="columns" />
|
||||
</QScrollArea>
|
||||
</QDrawer>
|
||||
<CrudModel
|
||||
v-bind="$attrs"
|
||||
:class="$attrs['class'] ?? 'q-px-md'"
|
||||
|
|
Loading…
Reference in New Issue