angular.js - sockjs Angularjs Error: INVALID_STATE_ERR
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 16:57:07
0
1
705

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">
过去多啦不再A梦
过去多啦不再A梦

모든 응답(1)
PHPzhong

at new <anonymous> (http://localhost:8080/earth/resources/scripts/app/controllers/HallController.js:16:7)
这句不是报告了错误具体出现在哪一行么,你去这一行看看,我估计是你的$state.go(stateName)여기 stateName에 문제가 있습니다. 라우팅 테이블(app_states.js, 파일 이름은 다를 수 있음)로 이동하여 이 stateName이 있는지 확인하세요.

최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿