接口调整,前端进行调整

main
刘妍 2025-04-30 16:16:34 +08:00
parent 079ec0cbde
commit d04512d638
1 changed files with 4 additions and 4 deletions

View File

@ -475,10 +475,10 @@
tableDataByTableName(querys).then((res) => {
setTableData(res.data);
let arr: any = [];
res.head.forEach((element, index) => {
res.headName.forEach((element, index) => {
arr.push({
title: res.headName[index],
dataIndex: element,
title: element.comment ? element.comment : element.columnName,
dataIndex: element.columnName,
});
});
headData.value = arr;
@ -569,7 +569,7 @@
margin-left: 10px;
}
}
.detail-content{
.detail-content {
overflow-y: scroll;
height: 80vh;
}