angularjs加载渲染完页面怎么更改数据
2 回答
MM们
TA贡献1886条经验 获得超2个赞
$scope.on_impersonate_success = function(response) {//$window.location.reload();//This cancels any current request
$location.path('/');//This works as expected, if path!= current_path};$scope.impersonate = function(username) {
return auth.impersonate(username). then($scope.on_impersonate_success, $scope.on_auth_failed);};
- 2 回答
- 0 关注
- 762 浏览
添加回答
举报
0/150
提交
取消