Commit a40c444e by liuyang

Merge branch 'dev' of http://git.pseer.com:8800/platform/hg-smart into dev-ly

parents d209d7e8 8b9e3acf
...@@ -54,9 +54,9 @@ $(function () { ...@@ -54,9 +54,9 @@ $(function () {
var deviceType = options.model['deviceType']; var deviceType = options.model['deviceType'];
if(deviceType) { if(deviceType) {
// 返回我们过滤后的数据集 // 返回我们过滤后的数据集
return _.filter(deviceCodeBox, function (item) { return _.filter(deviceCodeBox, function (item) {
return item["param1Field"]==deviceType && item["param3Field"] == "true"; return item["param1Field"] == deviceType && item["param3Field"] === "1";
}) })
} }
return deviceCodeBox; 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