2014年5月19日

摘要: 当字符串长度大于某一个值时,进行截取,使用下面的方式:thing.title?length gt 33 ${thing.title?substring(0,30)}...${thing.title!} 当然,也可以对thing.title 外面添加括号,(thing.title)?length gt... 阅读全文
posted @ 2014-05-19 18:57 jinfenglee 阅读(603) 评论(0) 推荐(0) 编辑

导航