TypeError: Cannot read property 'get' of undefined

TypeError: Cannot read property ‘get’ of undefined
at wn.getDeviceType (assetManagement.jsp:631)
at click (eval at Ya (vue.min.js:3343), :3:204)
at He (vue.min.js:498)
at HTMLInputElement.n (vue.min.js:582)
at HTMLInputElement.Yr.o._wrapper (vue.min.js:1910)
在这里插入图片描述
TypeError: Cannot read property 'get' of undefined_第1张图片
原因:
缺少vue-resource.min.js文件
解决方案:
方法1:
添加代码

方法2:导入vue-resource.min.js文件

你可能感兴趣的:(Vue,报错总结)