https://autowarefoundation.gitlab.io/autoware.auto/AutowareAuto/installation-ade.html
// qt错误 在qwebchannel.js前加 export
Uncaught SyntaxError: Unexpected token 'export' //未捕获到的SyntaxError:意外的令牌'export'//
js: Uncaught ReferenceError: QWebChannel is not defined //js:未捕获ReferenceError:未定义QWebChannel
// 进入公司网址错误
js: Uncaught TypeError: Cannot set property 'transport' of undefined // js:未捕获的TypeError:无法设置未定义的属性“ transport”
// 自定义的vue文件
js: Uncaught ReferenceError: VueRouter is not defined // js:未捕获ReferenceError:未定义VueRouter
将 msgutils.js 内的函数开头添加 export,会出现 context错误,同时显示js:**********
删除context ,则 context错误消失,但qt显示
js: Uncaught ReferenceError: QWebChannel is not defined
将qtweb和msg拷贝到服务器,同时 在msg里添加
export var qtWebChannel = null // 导出qtWebChannel,供其他页面调用
出现
js: TypeError: Cannot read property 'onMsg' of undefined
删除服务器里面的两个JS文件,还是一样的错误
5BCECF7A