forked from verdnatura/salix-front
refs #6677 fix code
This commit is contained in:
parent
5c87cfc671
commit
adac3bc895
|
@ -100,7 +100,6 @@ async function filter(val, options) {
|
|||
}
|
||||
|
||||
async function fetchFilter(val) {
|
||||
console.log('ENTRY PA', dataRef.value);
|
||||
if (!$props.url || !dataRef.value) return;
|
||||
|
||||
const { fields, sortBy, limit } = $props;
|
||||
|
@ -132,7 +131,6 @@ async function filterHandler(val, update) {
|
|||
}
|
||||
|
||||
watch(options, (newValue) => {
|
||||
console.log(newValue);
|
||||
setOptions(newValue);
|
||||
});
|
||||
|
||||
|
@ -148,7 +146,7 @@ watch(modelValue, (newValue) => {
|
|||
:url="$props.url"
|
||||
@on-fetch="(data) => setOptions(data)"
|
||||
:where="where || { [optionValue]: value }"
|
||||
:limit="limit || 30"
|
||||
:limit="limit"
|
||||
:order-by="orderBy"
|
||||
:fields="fields"
|
||||
/>
|
||||
|
|
|
@ -182,8 +182,8 @@ const columns = computed(() => [
|
|||
</QItemLabel>
|
||||
</QItemSection>
|
||||
</QItem>
|
||||
</template> </VnSelectFilter
|
||||
>s
|
||||
</template>
|
||||
</VnSelectFilter>
|
||||
</QTd>
|
||||
</template>
|
||||
<template #item="props">
|
||||
|
|
Loading…
Reference in New Issue