enhance(client): 🎨
This commit is contained in:
parent
3692c9eb64
commit
fe3609451e
9 changed files with 74 additions and 66 deletions
|
|
@ -7,7 +7,7 @@ export default {
|
|||
if (style.backgroundColor && !['rgba(0, 0, 0, 0)', 'rgba(0,0,0,0)', 'transparent'].includes(style.backgroundColor)) {
|
||||
return style.backgroundColor;
|
||||
} else {
|
||||
return getBgColor(el.parentElement);
|
||||
return el.parentElement ? getBgColor(el.parentElement) : 'transparent';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue