fix: 🐛 主题颜色设置覆盖暗黑模式下el-table行激活的背景色问题修复

This commit is contained in:
hxr
2024-04-27 19:32:50 +08:00
parent 0e1e9ef6dd
commit 2f4a20a4a9
4 changed files with 13 additions and 307 deletions

View File

@@ -39,13 +39,3 @@ export function isExternal(path: string) {
const isExternal = /^(https?:|http?:|mailto:|tel:)/.test(path);
return isExternal;
}
/**
* 设置Style属性
*
* @param propName
* @param value
*/
export function setStyleProperty(propName: string, value: string) {
document.documentElement.style.setProperty(propName, value);
}