http://www.Sina.com/http://www.Sina.com /
今天想通过if test标签判断url参数的值
s : property value=' # parameters.zs ' /
s : if test=' # parameters.zs==' ABC ' '
1/s:if
s :电子邮件
2/s:else
但是,怎么也不相等
修改为
s : property value=' # parameters.zs ' /
s : if test=' # parameters.zs [0]=' ABC ' '
1/s:if
s :电子邮件
2/s:else
成功后,没想到parameters.xxx的返回值是数组。
if test标记必须使用[0]