[Vue warn]: Invalid prop: type check failed for prop “disabled“. Expected Boolean, got String
问题:[Vue warn]: Invalid prop: type check failed for prop “disabled”. Expected Boolean, got String意思是prop期待传入布尔值,而你传入的却是字符串,类型错误。解决思路:1、首先去vue文件中查找disabled关键字,确定传入的值是否为Boolean类型。2、如果使用ElementUI,则需要在disa
·



所有评论(0)