perf: simplify if
gitea/salix-front/pipeline/pr-test Build queued...
Details
gitea/salix-front/pipeline/pr-test Build queued...
Details
This commit is contained in:
parent
2505061b8c
commit
b28873c67d
|
@ -125,7 +125,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
|||
store.hasMoreData = limit && response.data.length >= limit;
|
||||
|
||||
if (!append && !isDialogOpened() && updateRouter) {
|
||||
if (updateStateParams()?.redirect) return;
|
||||
if (updateStateParams(response.data)?.redirect) return;
|
||||
}
|
||||
store.isLoading = false;
|
||||
canceller = null;
|
||||
|
|
Loading…
Reference in New Issue