wxml中双大括号绑定数据进行简单逻辑运算有bug?!
变量:injuredTrafficMode得到的值是0,在wxml与空字符串进行“==”比较居然是true
这个逻辑运算这么神奇,代码见截图:


页面显示结果:

wxml中双大括号内的逻辑运算不支持相等比较???
变量:injuredTrafficMode得到的值是0,在wxml与空字符串进行“==”比较居然是true
这个逻辑运算这么神奇,代码见截图:
页面显示结果:
wxml中双大括号内的逻辑运算不支持相等比较???