Invalid prop: type check failed for prop “label“. Expected String with value “1“, got Number with va
期望值为字符串,的到的值为数字类型,所以转为字符串就好了index+1+''<el-form-item :label="index+1+''" v-for="(item,index) in intro" :key="index+1"></el-form-item>
·
期望值为字符串,的到的值为数字类型,所以转为字符串就好了
index+1+''
<el-form-item :label="index+1+''" v-for="(item,index) in intro" :key="index+1">
</el-form-item>
更多推荐
已为社区贡献1条内容
所有评论(0)