feat[design]: 优化矩阵显示

- 当没有行列时,取消显示第一竖行的显示
This commit is contained in:
Huangzhe
2025-03-25 10:49:09 +08:00
parent 40519243b8
commit bb2df81907

View File

@@ -135,8 +135,10 @@ const errorMessage = defineModel('errorMessage', {
empty-text=""
v-if="rows.length || cols.length"
>
<el-table-column width="130px">
<template #header></template>
<el-table-column width="130px" v-if="rows.length">
<template #header>
<div :style="{ width: `${tableWidth}px`, height: '30px' }"></div>
</template>
<template #default="{ row /*, column, $index*/ }">
<div style="position: relative">
<el-text truncated>