This commit is contained in:
Fine 2025-06-03 21:19:58 +08:00
parent ceb8162f6b
commit cfade22ca6

View File

@ -17,7 +17,7 @@ limitations under the License. -->
:data="data" :data="data"
class="mb-5" class="mb-5"
:row-style="{ backgroundColor: 'var(--layout-background)' }" :row-style="{ backgroundColor: 'var(--layout-background)' }"
:cell-style="(data) => (data.columnIndex === 0 ? { backgroundColor: 'var(--el-table-header-bg-color)' } : {})" :cell-style="(data: Indexable) => (data.columnIndex === 0 ? { backgroundColor: 'var(--el-table-header-bg-color)' } : {})"
> >
<el-table-column <el-table-column
v-for="item in metricsRows" v-for="item in metricsRows"