更新表头行跟随黑暗模式更改颜色
This commit is contained in:
parent
340c80742f
commit
5c88776344
@ -274,7 +274,11 @@ export default defineComponent({
|
|||||||
data={unref(getProps).data}
|
data={unref(getProps).data}
|
||||||
onSelection-change={selectionChange}
|
onSelection-change={selectionChange}
|
||||||
{...unref(getBindValue)}
|
{...unref(getBindValue)}
|
||||||
header-row-style="color: #000;background-color: #000;"
|
header-cell-style={
|
||||||
|
appStore.getIsDark
|
||||||
|
? { color: '#CFD3DC', 'background-color': '#000' }
|
||||||
|
: { color: '#000', 'background-color': '#f5f7fa' }
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
default: () => renderTableColumn(),
|
default: () => renderTableColumn(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user