diff --git a/src/pages/ExportPage.tsx b/src/pages/ExportPage.tsx index c12ef10..3119d23 100644 --- a/src/pages/ExportPage.tsx +++ b/src/pages/ExportPage.tsx @@ -3492,6 +3492,18 @@ function ExportPage() { const isContentTextDialog = isContentScopeDialog && exportDialog.contentType === 'text' const shouldShowFormatSection = !isContentScopeDialog || isContentTextDialog const shouldShowMediaSection = !isContentScopeDialog + const shouldShowDisplayNameSection = !( + exportDialog.scope === 'sns' || + ( + exportDialog.scope === 'content' && + ( + exportDialog.contentType === 'voice' || + exportDialog.contentType === 'image' || + exportDialog.contentType === 'video' || + exportDialog.contentType === 'emoji' + ) + ) + ) const isTabCountComputing = isSharedTabCountsLoading && !isSharedTabCountsReady const isSnsCardStatsLoading = !hasSeededSnsStats const taskRunningCount = tasks.filter(task => task.status === 'running').length @@ -4301,27 +4313,29 @@ function ExportPage() { )} -
-

发送者名称显示

-
- {displayNameOptions.map(option => { - const isActive = options.displayNamePreference === option.value - return ( - - ) - })} + {shouldShowDisplayNameSection && ( +
+

发送者名称显示

+
+ {displayNameOptions.map(option => { + const isActive = options.displayNamePreference === option.value + return ( + + ) + })} +
-
+ )}