test: fix
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
f75da3d165
commit
cf67a0dc46
|
@ -149,6 +149,7 @@ function buildwhere(val) {
|
||||||
async function fetchFilter(val) {
|
async function fetchFilter(val) {
|
||||||
const { fields, sortBy, limit } = $props;
|
const { fields, sortBy, limit } = $props;
|
||||||
const where = buildwhere(val);
|
const where = buildwhere(val);
|
||||||
|
if (!dataRef.value) return;
|
||||||
return dataRef.value.fetch({ fields, where, order: sortBy, limit });
|
return dataRef.value.fetch({ fields, where, order: sortBy, limit });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue