fix: Fix directory switch error during file list loading.

pull/3927/head
manx98 2025-05-24 22:56:36 +08:00
parent cfea84fd5e
commit c6cafe0866
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ const fetchData = async () => {
const res = await api.fetch(url); const res = await api.fetch(url);
if (clean(res.path) !== clean(`/${[...route.params.path].join("/")}`)) { if (clean(res.path) !== clean(`/${[...route.params.path].join("/")}`)) {
throw new Error("Data Mismatch!"); return;
} }
fileStore.updateRequest(res); fileStore.updateRequest(res);