我是slimscroll的新手。我在一个有角度的页面上工作,其中slimscroll工作正常,但当我点击一些链接并转到其他页面滚动停止工作,甚至主页,但当我刷新此页面时它工作正常。 是否有任何我想要滚动禁用的东西? 什么是在页面刷新时启用滚动?
<div slimscroll data-height="455" scrolly condition="scrolling_condition">-->
<table class="table-grid" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr data-ng-repeat="item in project.list |
filter:project.search:strict |
startFrom: (project.pagination.current_page - 1) * project.pagination.items_per_page |
limitTo: project.pagination.items_per_page"
data-ng-show="project.list.length > 0">
<td width="13%">{{item.name}}</td>
<td width="16%">{{item.portfolio.name}}</td>
<td width="12%" data-ng-if="!project.isClient">{{item.client.name}}</td>
<td width="7%" data-ng-if="!project.isClient">{{item.status}}</td>
<td width="12%">{{item.installation_type}}</td>
<td width="7%">{{item.dc_rating}}</td>
<td width="12%">{{item.location.city_state}}</td>
<td width="8%">{{item.location.country}}</td>
<td width="13%" class="text-center">
<a data-ng-href="#/entity/projects/view/{{item.id}}" class="action-link">
<i class="fa fa-eye fa-lg-icn"></i>
<span data-ng-if='$last' infinite-scroll-disabled='max_data_loaded' infinite-scroll="project.loadMore()" infinite-scroll-distance='1' ></span>
</a>
<a data-ng-href="#/entity/projects/edit/{{item.id}}" class="action-link">
<i class="fa-lg-icn rg-pen"></i>
</a>
<a href="#" class="action-link" confirmed-click="project.delete({{item.id}})" ng-confirm-click="Are you sure to delete this Project?">
<i class="fa-lg-icn rg-bin"></i>
</a>
</td>
</tr>
<tr data-ng-show="project.requests.list == project.request_state.LOADING">
<td colspan="6"><div class="main-loading"> </div></td>
</tr>
<tr data-ng-show="project.requests.list == project.request_state.ERROR">
<td colspan="6">
<div class="error-loading-img"></div>
<div class="error-loading-msg text-center">{{errorMsg}} <a href="#" data-ng-click="project.loadProjects()">Click here to reload.</a></div>
</td>
</tr>
<tr data-ng-show="project.requests.list == project.request_state.SUCCESS && ((project.list | filter:project.search:strict).length == 0 || project.list.length == 0)">
<td colspan="6">No records found.</td>
</tr>
</tbody>
</table>
</div>
如果我在这个div内滚动并点击其中的任何网址,那么在新页面滚动停止。