[THINKPHP] 模板可用三元操作符

<td>{$vo['realname'] ? $vo['realname'] : $vo['nickname']}</td>

原文地址:https://www.cnblogs.com/bushe/p/4935776.html