(1)Cannot read property 'activeIndex' of undefined
Error in mounted hook: "TypeError: Cannot read property 'addItem' of undefined"
诸如此类。。
原因:可能是项目引入的elementui与vue版本不对应,index.html文件中引用的vue.min.js脚本文件版本不对
解决方法:更换index.html文件中引用的vue.min.js版本,或者不在index.html文件中引用vue.min.js