fix: 修复历史记录中图片显示逻辑,移除不必要的提示信息
This commit is contained in:
parent
b98e706fa9
commit
6e3390a595
|
|
@ -140,14 +140,14 @@ export default function History() {
|
|||
{record.status === "completed" && record.outputResult ? (
|
||||
<Image
|
||||
className='thumbnail-image'
|
||||
src={record.outputUrl || record.inputImageUrl}
|
||||
src={record.inputImageUrl}
|
||||
mode='aspectFill'
|
||||
/>
|
||||
) : (
|
||||
<View className={`thumbnail-placeholder ${record.status}`}>
|
||||
<Image
|
||||
className='thumbnail-image'
|
||||
src={record.outputUrl || record.inputImageUrl}
|
||||
src={record.inputImageUrl}
|
||||
mode='aspectFill'
|
||||
/>
|
||||
</View>
|
||||
|
|
@ -178,11 +178,6 @@ export default function History() {
|
|||
|
||||
<View className='item-info'>
|
||||
<Text className='item-time'>{formatTime(record.createdAt)}</Text>
|
||||
{record.status === 'completed' && (
|
||||
<View className='action-hint'>
|
||||
<Text className='hint-text'>点击查看</Text>
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
Loading…
Reference in New Issue