我试过把v-if去除掉之后只有最外面一个的transition是生效的,请问其中的原理是什么,谢谢!
<transition name="fade">
<div class="slide-content-wrapper" v-show="menuVisible && settingVisible===3">
<transition name="slide-right">
<div class="content" v-if="settingVisible===3">
<div class="content-page-wrapper">
<div class="content-page"></div>
<div class="content-page-tab"></div>
</div>
</div>
</transition>
<div class="content-bg" @click="hideTitleAndMenu()"></div>
</div>
</transition>