读书人

freemarker 传过来的替空

发布时间: 2012-10-25 10:58:57 作者: rapoo

freemarker 传过来的为空

?

不能为空:

?

${item.khqName!}

?

在字段后面加上! 为空不会报错

读书人网 >Web前端

热点推荐