Vue启动 Error in event handler for runtime.onMessage: TypeError: Cannot read property 'join' of undefined
vue 启动时 在浏览器中报错
Error in event handler for runtime.onMessage: TypeError: Cannot read property 'join' of undefined
at Object.getPageLang (chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:1:8920)
at chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:8:46945
at Object.getPageLang (chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:1:8920)
at chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:8:46945
谷歌中报错
Refused to load the image 'http://192.168.9.15:8081/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
原因是因为不小心更改了index.js中的路径
![](https://img2018.cnblogs.com/blog/1421484/201909/1421484-20190918154845892-813551259.png)
将前面的。去掉即可