debug4
All checks were successful
Deploy to Server / deploy (push) Successful in 17s

This commit is contained in:
jeremygan2021
2026-03-23 00:19:14 +08:00
parent 4f87427a77
commit 1caa64fe71
2 changed files with 12 additions and 2 deletions

View File

@@ -149,7 +149,12 @@ export default function ProjectDetail() {
<View className='file-list'>
{project.files.map((file, index) => (
<View key={index} className='file-item' onClick={() => handleOpenFile(file)}>
<Text className='file-name'>{file.name || '附件 ' + (index + 1)}</Text>
<View style={{ flex: 1 }}>
<Text className='file-name'>{file.name || '附件 ' + (index + 1)}</Text>
{file.file_size_display && (
<Text style={{ fontSize: '12px', color: '#999' }}>{file.file_size_display}</Text>
)}
</View>
<Text className='file-action'></Text>
</View>
))}