0
這裏我是我的過濾器不工作。代碼將數據發佈到控制器時,出現以下錯誤。劍道源過濾器不工作
錯誤:
An unknown function with name 'contains' was found. This may also be a key lookup on a navigation property, which is not allowed.
代碼:
$("#btnSearch").click(function() {
txt = $("#Where").val();
filter = "contains(Title,'"+txt+"')";
return db.cards('content', page || 1, null, filter).then(function (d) {
vm.widgetData.records(d);
});
});