HTML 标签中属性为 true 的写法

在标签中,这两者写法是等效的

<swiper :indicator-dots="true" :circular="true">
<swiper indicator-dots circular>
posted @ 2022-08-24 15:58  朱在春  阅读(86)  评论(0编辑  收藏  举报