v-show 中使用三元表达式

v-show="active == index ? true : false "
 
**ture和false 不能带引号

posted on 2021-04-15 10:56  cropsecrab  阅读(1495)  评论(0)    收藏  举报

导航