Leon 2 лет назад
Родитель
Сommit
74aefe7bde
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/features/food/FoodTimelineItem.tsx

+ 1 - 1
src/features/food/FoodTimelineItem.tsx

@@ -314,7 +314,7 @@ export default function Component(props: { data: any, index: number, delete: Fun
         </View>
         <View className="thumb_bg">
             {/* <Image className="thumb" src={detail.cover.url} mode="aspectFill" onClick={preview} /> */}
-            <Image className="thumb" src={detail.cover+'?x-oss-process=image/resize,w_300,limit_0'} mode="aspectFill" onClick={preview} />
+            <Image className="thumb" src={detail.cover.url+'?x-oss-process=image/resize,w_300,limit_0'} mode="aspectFill" onClick={preview} />
             <View className="food_desc" onClick={operateActionSheet}>
                 <Text className="food_desc_text">{detail.start && TimeFormatter.getMonthDayByTimestamp(detail.start.timestamp)}</Text>
                 <Text className="food_desc_text">{detail.meal_tag && detail.meal_tag.label}</Text>