vuejs的这个三元运算符怎么写

2025-03-10 16:44:47
推荐回答(1个)
回答1:

:class="followed ? 'btn-success':'btn-secondary'"