猿问

angularjs加载渲染完页面怎么更改数据

angularjs加载渲染完页面怎么更改数据


一只名叫tom的猫
浏览 559回答 2
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);};
随时随地看视频慕课网APP

相关分类

AngularJS
我要回答