摘要: 布尔型 Attribute​ 布尔型 attribute 依据 true / false 值来决定 attribute 是否应该存在于该元素上。disabled 就是最常见的例子之一。 v-bind 在这种场景下的行为略有不同: <button :disabled="isButtonDisabled 阅读全文
posted @ 2023-11-14 23:49 王二疯 阅读(12) 评论(0) 推荐(0) 编辑