This commit is contained in:
parent
e4bac3edab
commit
7fdcb1eace
|
@ -101,7 +101,7 @@ const arrayData = useArrayData(props.dataKey, {
|
||||||
mapKey: props.mapKey,
|
mapKey: props.mapKey,
|
||||||
});
|
});
|
||||||
const store = arrayData.store;
|
const store = arrayData.store;
|
||||||
console.log('store', store);
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
if (props.autoLoad && !store.data?.length) await fetch();
|
if (props.autoLoad && !store.data?.length) await fetch();
|
||||||
mounted.value = true;
|
mounted.value = true;
|
||||||
|
|
Loading…
Reference in New Issue