perf_redirectTransition #1178
|
@ -128,11 +128,11 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
|||
const res = updateStateParams(response.data);
|
||||
|
||||
if (res?.redirect) return;
|
||||
}
|
||||
processData(response.data, { map: !!store.mapKey, append });
|
||||
|
||||
store.isLoading = false;
|
||||
canceller = null;
|
||||
|
||||
processData(response.data, { map: !!store.mapKey, append });
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Ya tenemos un response por ahi, asi que la variable res, se puede renombrar?
Y si hacemos const redirect = updateStateParams()?.redirect?
if(redirect) return?
Es una idea, por eso lo pongo como comentario
Me mola, si. Lo subo asi