首頁 > 問答 > 主體
錯誤:INVALID_STATE_ERR
PHPz2017-05-15 16:59:07
at new <anonymous> (http://localhost:8080/earth/resources/scripts/app/controllers/HallController.js:16:7)这句不是报告了错误具体出现在哪一行么,你去这一行看看,我估计是你的$state.go(stateName)這裡的stateName出問題了,去你的路由表(app_states.js,可能檔名不同)裡看看有沒有這個stateName
at new <anonymous> (http://localhost:8080/earth/resources/scripts/app/controllers/HallController.js:16:7)
$state.go(stateName)