fix world dialog may sometimes not load the instance list

This commit is contained in:
pa
2026-03-07 19:24:07 +09:00
parent c342f40662
commit 395a47cbdc
+3 -7
View File
@@ -146,13 +146,9 @@ export const useWorldStore = defineStore('World', () => {
D.timeSpent = ref.timeSpent; D.timeSpent = ref.timeSpent;
} }
}); });
const loadWorldRequest = forceRefresh const loadWorldRequest = worldRequest.getWorld({
? worldRequest.getWorld({ worldId: L.worldId
worldId: L.worldId });
})
: worldRequest.getCachedWorld({
worldId: L.worldId
});
loadWorldRequest loadWorldRequest
.catch((err) => { .catch((err) => {
nextTick(() => (D.loading = false)); nextTick(() => (D.loading = false));