未验证 提交 797925c1 编写于 作者: O openharmony_ci 提交者: Gitee

!6335 图片资源文件引用错误

Merge pull request !6335 from 邓辉/master
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
struct FoodImageDisplay { struct FoodImageDisplay {
build() { build() {
Stack({ alignContent: Alignment.BottomStart }) { Stack({ alignContent: Alignment.BottomStart }) {
Image($m('Tomato.png')) Image($r('app.media.Tomato'))
.objectFit(ImageFit.Contain) .objectFit(ImageFit.Contain)
.height(357) .height(357)
Text('Tomato') Text('Tomato')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册