mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-09 14:40:27 +08:00
fix: 修复pure-table带状态表格在深色整体风格下状态样式消失的问题
This commit is contained in:
@@ -77,8 +77,8 @@ const {
|
||||
row-key="id"
|
||||
alignWhole="center"
|
||||
:header-cell-style="{
|
||||
background: '#f5f7fa',
|
||||
color: '#303133'
|
||||
background: 'var(--el-fill-color-light)',
|
||||
color: 'var(--el-text-color-primary)'
|
||||
}"
|
||||
:data="
|
||||
tableData.slice(
|
||||
|
||||
@@ -40,7 +40,7 @@ export function useColumns(selectRef: Ref) {
|
||||
function rowStyle({ row: { name } }) {
|
||||
return {
|
||||
cursor: "pointer",
|
||||
background: name === selectValue.value ? "#f5f7fa" : ""
|
||||
background: name === selectValue.value ? "var(--el-fill-color-light)" : ""
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ const {
|
||||
row-key="id"
|
||||
alignWhole="center"
|
||||
:header-cell-style="{
|
||||
background: '#f5f7fa',
|
||||
color: '#303133'
|
||||
background: 'var(--el-fill-color-light)',
|
||||
color: 'var(--el-text-color-primary)'
|
||||
}"
|
||||
:row-style="rowStyle"
|
||||
:data="
|
||||
|
||||
Reference in New Issue
Block a user