fix: Editor page with redundant table fields of the same name in othe… (#1765)

Co-authored-by: 王玉东 <wangyudong@qiyi.com>
This commit is contained in:
yudong
2024-08-05 19:26:39 +08:00
committed by GitHub
parent 5bd946fbdd
commit 9fe060a771
7 changed files with 16 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ async def get_editor_tables(
for table in tables:
table_node: DataNode = DataNode(title=table, key=table, type="table")
db_node.children.append(table_node)
fields = db_conn.get_fields(table)
fields = db_conn.get_fields(table, db_name)
for field in fields:
table_node.children.append(
DataNode(