报vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "defaultActive". Expected String with value "1", got Number with value 1.
这个说明的是这个属性是默认是字符串类型,然后我们得到是一个数字类型
data(){
return{
activeIndex:1 || activeIndex:“1”
};
},