Compare commits

...

2 Commits

1 changed files with 4 additions and 4 deletions

View File

@ -477,10 +477,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;