SOURCE

function deteleObject(obj) {
    var uniques = [];
    var stringify = {};
    for (var i = 0; i < obj.length; i++) {
        var keys = Object.keys(obj[i]);
        keys.sort(function(a, b) {
            return (Number(a) - Number(b));
        });
        var str = '';
        for (var j = 0; j < keys.length; j++) {
            str += JSON.stringify(keys[j]);
            str += JSON.stringify(obj[i][keys[j]]);
        }
        if (!stringify.hasOwnProperty(str)) {
            uniques.push(obj[i]);
            stringify[str] = true;
        }
    }
    uniques = uniques;
    console.log(uniques);
}

const arr = [
    {label: '订单编码', value: 'orderNo'},
    {label: '订单编码', value: 'orderNo'},
    {label: '总数量', value: 'totalNum'},
    {label: '总数量', value: 'totalNum'},
    {label: '派单编号', value: 'splitNo'}
]
deteleObject(arr)
console 命令行工具 X clear

                    
>
console