修改601表格第一列左对齐显示
This commit is contained in:
@@ -1029,12 +1029,16 @@ export default {
|
|||||||
// style = style + 'border-bottom:0px !important;'
|
// style = style + 'border-bottom:0px !important;'
|
||||||
}
|
}
|
||||||
if (columnIndex === 0) {
|
if (columnIndex === 0) {
|
||||||
style = style + 'color:#046ECA;'
|
style = style + 'color:#046ECA;text-align:left;'
|
||||||
}
|
}
|
||||||
return style
|
return style
|
||||||
},
|
},
|
||||||
tableHeaderCellStyle ({ row, column, rowIndex, columnIndex }) {
|
tableHeaderCellStyle ({ row, column, rowIndex, columnIndex }) {
|
||||||
return 'border-right:0px;font-size:12px;font-weight:500;padding:4px 0 !important;border-bottom: 1px solid #E2E5EC;'
|
if(columnIndex === 0){
|
||||||
|
return 'text-align:left;border-right:0px;font-size:12px;font-weight:500;padding:4px 0 !important;border-bottom: 1px solid #E2E5EC;'
|
||||||
|
}else {
|
||||||
|
return 'border-right:0px;font-size:12px;font-weight:500;padding:4px 0 !important;border-bottom: 1px solid #E2E5EC;'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getCurTab () {
|
getCurTab () {
|
||||||
let curTab = this.$store.getters.getNetworkOverviewCurrentTab
|
let curTab = this.$store.getters.getNetworkOverviewCurrentTab
|
||||||
|
|||||||
Reference in New Issue
Block a user