Subscribe on changes!

style is not cleared

avatar
Feb 18th 2024

i tried to fix it with this pr~

avatar
Feb 21st 2024

This will only happen when style's value changed, from string to object or from object to string. And it will work correctly when its value type doesn't change. In typescript, operation to change type is not allowed. So it will only happened in javascript.

avatar
Feb 23rd 2024
- :style="style"
+ :style="[style]"