vue为v-if添加过渡动画效果

https://blog.csdn.net/qq_41948178/article/details/103901722


   
.plus-icon-enter-active { transition: opacity 0.5s; } .plus-icon-enter { opacity: 0; } .plus-icon-leave-active { transition: opacity 0.5s; } .plus-icon-leave-to { opacity: 0; }

你可能感兴趣的:(vue为v-if添加过渡动画效果)