源代码
<transition name="slide">
<div class="singer-detail">
</div>
</transition>
.slide-enter-active,.slide-leave-active
transition all 0.2s linear
.slide-leave-to
transform translate3d(100%,0,0)
.slide-enter
transform translate3d(100%,0,0)
解决办法
transition加appear属性
<transition name="slide" appear>
<div class="singer-detail">
</div>
</transition>