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

  

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