fix: Fix directory switch error during file list loading.
parent
cfea84fd5e
commit
c6cafe0866
|
@ -146,7 +146,7 @@ const fetchData = async () => {
|
|||
const res = await api.fetch(url);
|
||||
|
||||
if (clean(res.path) !== clean(`/${[...route.params.path].join("/")}`)) {
|
||||
throw new Error("Data Mismatch!");
|
||||
return;
|
||||
}
|
||||
|
||||
fileStore.updateRequest(res);
|
||||
|
|
Loading…
Reference in New Issue