sockjs Angularjs Error: INVALID_STATE_ERR
Error: INVALID_STATE_ERR
at y.send (http://localhost:8080/earth/resources/scripts/lib/sockjs-0.3.4.min.js:27:16558)
at r._transmit (http://localhost:8080/earth/resources/scripts/lib/stomp.min.js:8:2199)
at r.send (http://localhost:8080/earth/resources/scripts/lib/stomp.min.js:8:6053)
at chatCore.Send (http://localhost:8080/earth/resources/scripts/chat.js:34:19)
at new <anonymous> (http://localhost:8080/earth/resources/scripts/app/controllers/HallController.js:16:7)
at e (http://localhost:8080/earth/resources/scripts/lib/angular.min.js:37:96)
at Object.instantiate (http://localhost:8080/earth/resources/scripts/lib/angular.min.js:37:213)
at $get (http://localhost:8080/earth/resources/scripts/lib/angular.min.js:76:318)
at compile (http://localhost:8080/earth/resources/scripts/lib/angular-ui-router.min.js:7:21956)
at $ (http://localhost:8080/earth/resources/scripts/lib/angular.min.js:70:488) <body ui-view="" class="ng-scope">
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
at new <anonymous> (http://localhost:8080/earth/resources/scripts/app/controllers/HallController.js:16:7)
这句不是报告了错误具体出现在哪一行么,你去这一行看看,我估计是你的
$state.go(stateName)
这里的stateName出问题了,去你的路由表(app_states.js,可能文件名不同)里看看有没有这个stateName