该方法还有一些其他的逻辑,用于检查产品列表的结束。
This method contains some extra logic for detecting the end of the product list.
注意您始终需要使用结束标记来终止列表,但是可选的,它可以自动终止。
Note that you always need to end the list with the end tag, but that the is optional and can be left off.
该列表以if开始,以(display “ less ”)结束。
OK. So, soon as I get down to a list that has no more than two elements in it, I'm done.
不超过2个元素的列表,那就结束了,注意,这里是小于等于。
应用推荐