vue 中动态class的写法

另外一种写法

  • :class = "( isTrue ? 'one' : 'two' , fontSizeType + '-content' )"
posted @ 2023-07-03 18:24  盘思动  阅读(24)  评论(1)    收藏  举报