diff --git a/src/pages/query-view/components/DetailsDialog.tsx b/src/pages/query-view/components/DetailsDialog.tsx index 01e050f..10e08c9 100644 --- a/src/pages/query-view/components/DetailsDialog.tsx +++ b/src/pages/query-view/components/DetailsDialog.tsx @@ -539,12 +539,12 @@ export const DetailsDialog = () => { - - + + 详情信息 -
+
{queryViewStore.allDetailsTabs.map((tab) => (
-
+
{/* 第一个标签页:详情信息 */} {queryViewStore.detailsActiveTab === 'details' && ( @@ -575,9 +575,9 @@ export const DetailsDialog = () => { )} - {/* 第三个标签页:响应 */} + {/* 第四个标签页:响应 */} {queryViewStore.detailsActiveTab === 'response' && ( -
+
)} diff --git a/src/pages/query-view/index.tsx b/src/pages/query-view/index.tsx index 5238e51..4d4d876 100644 --- a/src/pages/query-view/index.tsx +++ b/src/pages/query-view/index.tsx @@ -67,7 +67,7 @@ export const QueryView = (props: Props) => { setIsList(true); } setData(response.data.list) - const [_, firstItem] = response.data.list || [] + const [firstItem] = response.data.list || [] if (firstItem) { const cols: ColumnDef[] = Object.keys(firstItem).map(key => ({ accessorKey: key,