Commit 8b9e3acf by 宋祥

1.数值比较错误问题

parent bf5f384b
......@@ -55,7 +55,7 @@ $(function () {
if(deviceType) {
// 返回我们过滤后的数据集
return _.filter(deviceCodeBox, function (item) {
return item["param1Field"]==deviceType && item["param3Field"] == "true";
return item["param1Field"] == deviceType && item["param3Field"] === "1";
})
}
return deviceCodeBox;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment