Commit 127d2788 by 放生的三文鱼

修复未挂载表头不显示bug

parent 8aad1871
......@@ -71,7 +71,7 @@ const FC = (props) => {
let [newColumns, newTableData] = [[], []]
for (const element of filterElements??[]) {
for (const name of element.names??[]) {
const name = element.name
const column = {
title: name,
dataIndex: name,
......@@ -111,7 +111,6 @@ const FC = (props) => {
newColumns.push(column)
}
}
if (!loadingFilterElements) {
for (const item of (data?.data??[])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment