Mini player when writing vue-music project, deleting any song from the list has no transitional effect.
html section
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;
}