标签:bsp pre operation img alt product rod conf 注入
1.路由里配置参数operation
2.页面A跳转时带上参数
$scope.goPage = function (op) { $state.go("app.productConfigadd",{"operation":op});//注入$state };
3.页面B获取参数operation的值
$stateParams.operation //注入$stateParams获取参数operation的值
标签:bsp pre operation img alt product rod conf 注入
原文地址:http://www.cnblogs.com/cynthia-wuqian/p/7010648.html