getData(url,data){
this.$http({
method:‘post‘,
url:url,
data:data,
transformRequest:[function(data){
return qs.stringify(data)
}]
}).then(
(response2)=>{
console.log(response2.data.data);
this.list2=response2.data.data;
}
).catch(
function(error2){
console.log(error2);
})
},
时间: 2024-12-12 20:28:20