咏竹莉
where there is a will,there is a way
摘要: · 对象方法 最简单的绑定(这里的active加不加单引号都可以,以下也一样都能渲染) :class = "{'active': isActive}" · 判断是否绑定一个active :class="{'active':isActive == -1}" 或者 :class="{'active':i 阅读全文
posted @ 2021-05-10 17:22 咏竹莉 阅读(570) 评论(0) 推荐(0)