关于谷歌浏览器,运行vue2,3程序报错:
Unchecked runtime.lastError: The message port closed before a response was received.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'websiteDomains')
at xl-content.js:1:100558
的问题,网上查询了一下,根据大家的bug反馈,我认为应该是迅雷插件的问题。
将其关闭以后
页面立即不再报错
当然,也有可能是其他插件问题导致,由于此报错不影响程序正常运行,一直没有处理过它,今天一个偶然的机会,发现了解决方法,在此分享给大家,希望能够帮助到各位