feat: 自定义表头

This commit is contained in:
wenyann 2021-02-08 18:06:52 +08:00
parent 21b6481b8b
commit 8e4ce8a197
1 changed files with 8 additions and 4 deletions

View File

@ -384,12 +384,16 @@ export default {
param.userId=getCurrentUser().id;
param.type=TEST_CASE_LIST
this.result=this.$post('/system/header/info',param,response=>{
console.log(response.data)
/*if(response.data){
this.tableLabel=response.data.props
if(response.data){
response.data.map((v,i)=>{
if(this.tableLabel [i]){
this.tableLabel [i].prop=v
}
})
console.log(this.tableLabel)
}else{
this.tableLabel=Track_Test_Case
}*/
}
})
},