mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
fix(hollowoutable): background-color not returned
This commit is contained in:
parent
d827e71588
commit
00df4c8ce8
@ -33,7 +33,7 @@ function getNextBackgroundColorOf (el) {
|
||||
const diffedKeys = Object.keys(diffedStyle)
|
||||
if (!diffedKeys.length) {
|
||||
el.style.transition = memorizedTransition
|
||||
return
|
||||
return nextBackgroundColor
|
||||
}
|
||||
for (const key of diffedKeys) {
|
||||
memorizedInlineStyle[key] = el.style[key]
|
||||
|
Loading…
Reference in New Issue
Block a user