This commit is contained in:
2026-05-01 01:53:16 +08:00
parent c9be987671
commit 96313dd481
10 changed files with 100 additions and 55 deletions

View File

@@ -2071,12 +2071,13 @@ export function PlatformEntryFlowShellImpl({
? mergePuzzleServiceRuntimeState(currentRun, run)
: currentRun,
);
void platformBootstrap.refreshSaveArchives();
} catch (error) {
setPuzzleError(
resolvePuzzleErrorMessage(error, '同步拼图失败状态失败。'),
);
}
}, [puzzleRun, resolvePuzzleErrorMessage, setPuzzleError]);
}, [platformBootstrap, puzzleRun, resolvePuzzleErrorMessage, setPuzzleError]);
const usePuzzleProp = useCallback(
async (propKind: PuzzleRuntimePropKind) => {
@@ -2677,6 +2678,7 @@ export function PlatformEntryFlowShellImpl({
syncUpdatedPublicWorkDetail(
mapPuzzleWorkToPublicWorkDetail(updatedWork),
);
void platformBootstrap.refreshProfileDashboard();
})
.catch((error) => {
setPuzzleError(
@@ -2690,6 +2692,7 @@ export function PlatformEntryFlowShellImpl({
},
[
claimingPuzzlePointIncentiveProfileId,
platformBootstrap,
resolvePuzzleErrorMessage,
runProtectedAction,
setPuzzleError,