1

我遇到了问题anchorScroll,我用 ng-repeat 运行了一个列表,因为 id 有一个时间戳日期,当我确定我想要滚动到它的 id 时,它正确地带走了我,但由于某种原因滚动我的视线消失了。

$scope.scrollTo = function (elementId) {
    $location.hash(elementId);
    $anchorScroll();
    $ionicScrollDelegate.resize();
};
4

0 回答 0