头像

海卫一

帅气的我简直无法用语言描述!

动态class几种写法

对象语法(这里的active加不加单引号都可以) 1下面的语法表明 active 这个 class 存在与否将取决于数据 isActive 的 truthiness。 <div v-bind:c...
头像4天前
000