在TP框架中,传参的时候一般是{$cateres.xxx},if标签里这样写:<if condition="$cateres['id'] eq 0">
类似这样写就可以了。判断语句要夹在 ""里面!
Tags: None
Archives QR Code