refs #6280 perf locationFilter
This commit is contained in:
parent
37859892fa
commit
5ebeb7fe47
|
@ -72,8 +72,8 @@ onMounted(() => {
|
||||||
locationFilter()
|
locationFilter()
|
||||||
})
|
})
|
||||||
function locationFilter(search) {
|
function locationFilter(search) {
|
||||||
let where = { search };
|
let args = { filter:{limit: 30}, search};
|
||||||
postcodesRef.value.fetch({ where, limit: 30});
|
postcodesRef.value.fetch({args});
|
||||||
}
|
}
|
||||||
function handleFetch( data) {
|
function handleFetch( data) {
|
||||||
postcodesOptions.value = data;
|
postcodesOptions.value = data;
|
||||||
|
|
Loading…
Reference in New Issue