//封装的公用方法bulidRoleListes(data){if(data ==null){return[]}let newData =[]let list =[]for(let i =0; i < data.length; i++){if(i %this.rolePageSize ==0){
list =[]
newData.push(list)}const element = data[i];
list.push(element)}return newData
},//调用this.rolelistPage =this.bulidRoleListes(res.data.resultData.resultData)