vue 实现一个标签多个判断类名

  

:class="`${condition1 ? 'font' : ''} ${condition1 ? ' size' : ''}`"
posted @ 2021-03-10 16:27  web格调  阅读(953)  评论(0编辑  收藏  举报