📅  最后修改于: 2022-03-11 15:03:29.753000             🧑  作者: Mango
代码示例1
v-bind:class="{ active: isActive, 'text-danger': hasError }"
// or
:class="{ active: isActive, 'text-danger': hasError }"