When writing a vue-music project, the mini-player, deleting any song from the list will not have a transitional effect.

Mini player when writing vue-music project, deleting any song from the list has no transitional effect.
html section

clipboard.png
the key id of li has been added. You can delete a song, but it still has no transition effect. The effect is very stiff.

css:

.list-enter-active, .list-leave-active {

transition: all 0.1s linear;

}
.list-enter, .list-leave-to {

height: 0;

}

Mar.09,2021

the height you set is 0, but how much is the height before the transition? in fact, auto, can solve

perfectly by using max-height .
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb87e-31a7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb87e-31a7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?