duy 1 year ago
parent
commit
3ed956fd98
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/project/debit/contract/components/unit/row-data.vue

+ 1 - 3
src/views/project/debit/contract/components/unit/row-data.vue

@@ -147,9 +147,7 @@ const tableData = ref([])
 //设置某一行的样式
 const tableRowStyle = ({ row, rowIndex }) => {
     if (row.poseNum > row.contractTotal) {
-        // --el-fill-color-lighter 是表格行的背景色
-        // --el-table-row-hover-bg-color 是鼠标放上去后的背景色
-        return '--el-fill-color-lighter: #fe0000; '
+        return '--el-table-tr-bg-color: #fe0000; '
     }
 }
 //获节点类型