fix: 发布拼消消后进入作品详情
This commit is contained in:
@@ -10418,11 +10418,19 @@ export function PlatformEntryFlowShellImpl({
|
||||
]);
|
||||
void refreshPuzzleClearShelf();
|
||||
void refreshPuzzleClearGallery();
|
||||
const publicWorkCode = buildPuzzleClearPublicWorkCode(
|
||||
response.item.summary.profileId,
|
||||
);
|
||||
setSelectedPublicWorkDetail(
|
||||
mapPuzzleClearWorkToPlatformGalleryCard(response.item),
|
||||
);
|
||||
setPublicWorkDetailError(null);
|
||||
selectionStageRef.current = 'work-detail';
|
||||
setSelectionStage('work-detail');
|
||||
pushAppHistoryPath(buildPublicWorkStagePath('work-detail', publicWorkCode));
|
||||
openPublishShareModal({
|
||||
title: response.item.summary.workTitle || '拼消消',
|
||||
publicWorkCode: buildPuzzleClearPublicWorkCode(
|
||||
response.item.summary.profileId,
|
||||
),
|
||||
publicWorkCode,
|
||||
stage: 'work-detail',
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user