更新表头行跟随黑暗模式更改颜色

This commit is contained in:
ktianc 2022-11-19 20:17:35 +08:00
parent 340c80742f
commit 5c88776344

View File

@ -274,7 +274,11 @@ export default defineComponent({
data={unref(getProps).data}
onSelection-change={selectionChange}
{...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(),