对数组对象中得mobile和remark进行模糊查询


    var dataList = [{
        "id": 42,
        "mobile": 412421412421,
        "Level": 6,
        "remark": "备注1"
    }, {
        "id": 44,
        "mobile": 535325,
        "Level": 0,
        "remark": "备注1"
    }, {
        "id": 45,
        "mobile": 65465436,
        "Level": 0,
        "remark": "备注1"
    }, {
        "id": 46,
        "mobile": 8793,
        "Level": 6,
        "remark": "备注1"
    }, {
        "id": 47,
        "mobile": 532,
        "Level": 6,
        "remark": "备注1"
    }, {
        "id": 49,
        "mobile": 76544,
        "Level": 0,
        "remark": "备注1"
    }]

对这种数组对象中mobile和remark进行模糊查询应该怎么做

你可以用js中的filter()方法和正则表达式搞一下。