未验证 提交 0ca999a2 编写于 作者: 耿文广 提交者: Gitee

update zh-cn/application-dev/quick-start/arkts-rendering-control-foreach.md.

Signed-off-by: N耿文广 <gengwenguang@huawei.com>
上级 66bf70d5
......@@ -304,13 +304,13 @@ struct CalendarExample {
(item: Month) => {
ForEach(item.days,
(day : number) => {
// Build a date block.
// 构建日期块
},
(day : number) => day.toString()
)// Inner ForEach
)// 内部ForEach
},
(item: Month) => (item.year * 12 + item.month).toString() // This field is used together with the year and month as the unique ID of the month.
)// Outer ForEach
(item: Month) => (item.year * 12 + item.month).toString() // 内部ForEach
)// 内部ForEach
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册