feat[design]: 优化矩阵显示
- 当没有行列时,取消显示第一竖行的显示
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user