vue radio标签:type check failed for prop “disabled“. Expected Boolean, got String with value “true“.
问题描述:html:<el-radiolabel="6"disabled='true'>radio不可用</el-radio>报错:type check failed for prop "disabled". Expected Boolean, got String with value "true".解決方法:html:<el-radiolabel="6":disa
·
问题描述:
html:<el-radio label="6" disabled='true'>radio不可用</el-radio>
报错:type check failed for prop "disabled". Expected Boolean, got String with value "true".
解決方法:
html:
<el-radio label="6" :disabled='radioType'>radio不可用</el-radio>
js:
export default {
data() {
return {
radioType:true,
}
}
}
更多推荐
已为社区贡献11条内容
所有评论(0)