关于vue报警告 Prop "autocomplete" is passed to component <Anonymous>, but the declared prop name is....
vue报警告 Prop “autocomplete” is passed to component , but the declared prop name is “autoComplete”. Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equiv
·
vue报警告 Prop “autocomplete” is passed to component , but the declared prop name is “autoComplete”. Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use “auto-complete” instead of “autoComplete”.
处理方法:
将autocomplete替换成auto-complete
更多推荐
已为社区贡献1条内容
所有评论(0)