Leon 2 年之前
父節點
當前提交
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>