)}
- {shouldShowDisplayNameSection && (
+ {(shouldShowDisplayNameSection || options.format === 'excel') && (
-
发送者名称显示
-
- {displayNameOptions.map(option => {
- const isActive = options.displayNamePreference === option.value
- return (
-
- )
- })}
-
+ {shouldShowDisplayNameSection && (
+ <>
+
发送者名称显示
+
+ {displayNameOptions.map(option => {
+ const isActive = options.displayNamePreference === option.value
+ return (
+
+ )
+ })}
+
+ >
+ )}
+
+ {options.format === 'excel' && (
+
+
+
导出完整列
+
+ 开启后将在 Excel 表格中单独拆分出「发送者昵称」、「微信ID」、「备注」和「群昵称」列。关闭则只保留紧凑的「发送者身份」。
+
+
+
+
+ )}