js对象转数组方法:

objToArr(data) {
    let obj = Object.keys(data);
    let m = obj.map(key => data[key]);
    return m;
}