3.2.3 - 普通 - 未处理
if condition 有两处Bug1。我从后台往前台传两个参数,$d,$list,其中$list是数组
在index.html中进行判断:
<if condition="$d eq $list.data"> // 报错
<if condition="$list.data eq $d"> // 正确比较的顺序不一致导致编译错误2。在html的ja
$(#id).click(function{
<if condition="xxx">
xxx
<else />
xxx
<if />
});这样是没问题的。但是如果前面进行屏蔽的话:
$(#id).click(function{
//<if condition="xxx">
// xxx
// <else />
//xxx
//<if />
});真正输出的内容会把最后的 "});" 一起屏蔽。 