{$vo.userId} (这里能取到值)
<foreach name="us" item="ve" >
{$ve.id}这里能取到值
<if condition="$ve.id eq $vo.userId">
{$ve.id}
</if>
</foreach>
知道是什么情况吗 if标签无法输出
条件确实成立的
嵌套用
看了编译后代码if编译有问题 输出这样的if($se["userId"] == $vo.userId):
$vo.userId应是$vo['userId']才对如何解决这个问题呀
if标签不能编译两个动态变量吗?…………………………
最佳答案