资源详情返回更多按钮BUG修改

This commit is contained in:
yuanke 2016-08-25 14:26:31 +08:00
parent fd2021a1fe
commit bb2a1de98c
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ app.controller('MyResourceController', ['$scope', '$http', 'auth', 'config', '$l
vm.tab(currentTab);
vm.goHomeworkDetail = function(id){
rms.save("has_more",vm.has_more);
rms.save("homework_has_more",vm.homework_has_more);
rms.save("yoffset", document.documentElement.scrollTop || document.body.scrollTop);
$location.path("/homework").search({id: id});
}