Merge branch 'codeCheck' of https://git.mesalab.cn/nezha/nezha-fronted into codeCheck
This commit is contained in:
@@ -663,7 +663,8 @@
|
||||
background-color: rgba(0,0,0,.1);
|
||||
z-index: 100;
|
||||
}*/
|
||||
.chart-table .nz-table .el-table__row .costom-value .cell{
|
||||
.chart-table ,.chart-preview-dialog {
|
||||
.nz-table .el-table__row .costom-value .cell{
|
||||
padding: 1px 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,9 +141,11 @@
|
||||
{{ scope.row.element.alias?scope.row.element.alias:scope.row.element.element}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column sortable prop="value" :label="$t('dashboard.panel.chartTableColumn.value')" width="90">
|
||||
<el-table-column sortable prop="value" :label="$t('dashboard.panel.chartTableColumn.value')" width="90" class-name="costom-value">
|
||||
<template slot-scope="scope">
|
||||
<div :style="{color:scope.row.mapping?scope.row.mapping.color.text:'#000',background:scope.row.mapping?scope.row.mapping.color.bac:'#fff',margin: '10px 0'}">{{ scope.row.value}}</div>
|
||||
<div :style="{color:scope.row.mapping?scope.row.mapping.color.text:'#000',background:scope.row.mapping?scope.row.mapping.color.bac:'#fff'}">
|
||||
<span style="padding: 0px 10px;">{{ scope.row.value}}</span>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
Reference in New Issue
Block a user