vue报错,轮播组件,控制台提示Cannot read property 'toLowerCase' of undefined

这里是因为在创建的时候,忘接了添加name属性在 main.js添加以上代码的时候Vue.component(MySwipe.name, MySwipe),没有注意到创建组件的时候name属性没有写!!!这里记录下,留给自己以后翻看!
相关文章
相关标签/搜索