0
0
Fork 0

fix: not fetch on mounted

This commit is contained in:
Jorge Penadés 2024-11-27 17:02:41 +01:00
parent 5889dbf3de
commit 33de645e37
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ const addFilter = async (filter, params) => {
async function fetch(params) {
useArrayData(props.dataKey, params);
arrayData.reset(['filter.skip', 'skip', 'page']);
await arrayData.fetch({ append: false });
await arrayData.fetch({ append: false, updateRouter: mounted.value });
return emitStoreData();
}