Skip to content

Commit aa1d627

Browse files
committed
improve the table on the data manager ui
1 parent d405804 commit aa1d627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console/atest-ui/src/views/DataManager.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ const nextPage = () => {
235235

236236
<template>
237237
<div>
238-
<el-container style="height: calc(100vh - 50px);">
238+
<el-container style="height: calc(100vh - 80px);">
239239
<el-aside v-if="kind === 'atest-store-orm' || kind === 'atest-store-iotdb' || kind === 'atest-store-cassandra' || kind === 'atest-store-elasticsearch' || kind === 'atest-store-opengemini'">
240240
<el-scrollbar>
241241
<el-select v-model="queryDataMeta.currentDatabase" placeholder="Select database"
@@ -313,7 +313,7 @@ const nextPage = () => {
313313
<el-tag type="primary" v-if="queryDataMeta.duration">{{ queryDataMeta.duration }}</el-tag>
314314
<el-tag type="primary" v-for="label in queryDataMeta.labels">{{ label.value }}</el-tag>
315315
</div>
316-
<el-table :data="queryResult" stripe v-if="dataFormat === 'table'">
316+
<el-table :data="queryResult" stripe v-if="dataFormat === 'table'" height="calc(100vh - 200px)">
317317
<el-table-column v-for="col in columns" :key="col" :prop="col" :label="col" sortable />
318318
</el-table>
319319
<Codemirror v-else-if="dataFormat === 'json'" v-model="queryResultAsJSON" />

0 commit comments

Comments
 (0)