不刷新返回

This commit is contained in:
guange 2016-06-07 17:38:38 +08:00
parent 1251e31061
commit 8b05b33e38
1 changed files with 6 additions and 1 deletions

View File

@ -111,7 +111,12 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
alert("获取openid出错:"+response);
}
);
};
} else {
$timeout(function(){
window.scrollTo(0, rms.get("yoffset"));
});
}
//跳到详情页
$scope.goDetail = function(type, act_id,id){