Skip to content

Commit ef39584

Browse files
committed
fix(Data Source): Upload an Excel data source and display the data in the box.
1 parent a04bcaf commit ef39584

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

frontend/src/views/ds/ExcelDetailDialog.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ defineExpose({
152152
</div>
153153

154154
<div v-if="btnSelect === 'q'" class="field-details">
155-
<el-table row-class-name="hover-icon_edit" :data="fieldList" style="width: 100%">
155+
<el-table
156+
row-class-name="hover-icon_edit"
157+
:data="fieldList"
158+
style="width: 100%; height: 100%"
159+
>
156160
<el-table-column prop="fieldName" :label="t('datasource.field_name')" />
157161
<el-table-column prop="fieldType" :label="t('datasource.field_type')" width="240">
158162
<template #default="scope">
@@ -227,6 +231,7 @@ defineExpose({
227231
position: relative;
228232
z-index: 1;
229233
.field-details {
234+
height: calc(100% - 78px);
230235
.ed-select__wrapper {
231236
padding-left: 32px;
232237
}

0 commit comments

Comments
 (0)