vue使用三目运算符 (多条判断)
时间:2021-02-02 17:21:44
收藏:0
阅读:628
<div v-if="tab_index == 0 ? ppInfoList : (tab_index == 1 ? kcInfoList : wdInfoList)"></div>
原文:https://www.cnblogs.com/nljy/p/14362874.html
评论(0)