摘要:
1.计算字符串长度 2.判断字符串大小 3.选取部分字符串 {% if group|length > 10 %} <span>{{group|slice:10}}</span> {% else %} <span>{{group}}</span> {% endif %} <span> {{month| 阅读全文
posted @ 2020-12-25 14:32
Arron_Ramsey
阅读(448)
评论(0)
推荐(0)
浙公网安备 33010602011771号