如果要通过$state.go传参数到某个state需要在state中声明的时候的url中加上【:参数名称】 $state.go(state,{param:value}); 或者 ui-serf="state({param:value})"