This commit is contained in:
ChenQiuYu 2025-05-27 11:30:03 +08:00
parent 0465206aee
commit aed4bcc771
1 changed files with 3 additions and 1 deletions

View File

@ -18,13 +18,15 @@
/> />
</template> </template>
<div class="container" style="max-height: 300px"> <div class="container" style="max-height: 300px">
<el-table :data="searchList" max-height="300" :header-cell-style="{ backgroundColor: '#F1F5FB' }"> <el-table :data="searchList" max-height="300" @row-click="clickRow" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
<el-table-column <el-table-column
v-for="(conf, index) in props.showConfig" v-for="(conf, index) in props.showConfig"
:key="index" :key="index"
:label="conf.label" :label="conf.label"
:prop="conf.prop" :prop="conf.prop"
show-overflow-tooltip show-overflow-tooltip
>
</el-table-column>
/> />
</el-table> </el-table>
</div> </div>