vue警告Prop "autocomplete" is passed to component <Anonymous>, but the declared prop name is .......

版权声明:在那最初的相遇中,我们都曾经为彼此心动过... https://blog.csdn.net/weixin_36185028/article/details/82801497

vue报警告

Prop "autocomplete" is passed to component <Anonymous>, 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

猜你喜欢

转载自blog.csdn.net/weixin_36185028/article/details/82801497