3.2 - 普通 - 未处理
$('#tree_need').admin_tree({
dataSource: new DataSourceTree({url:'{:U("Product/Need/getneedjson",array("pid"=>$product["pid"]))}'})
});代码写成这样,TP的标签不解析。直接原样输出。但是如果把代码成下面的样子,就可以,应该是个BUG:
$('#tree_need').admin_tree({
dataSource: new DataSourceTree({
url: '{:U("Product/Need/getneedjson",array("pid"=>$product["pid"]))}'
})
});加上回车就对了,应该是底层正则的时候,规则有问题。 