将范围值存储为变量并循环显示它时,我实际上无法更改值,例如,
<ion-content>
<ul class="list">
<a href="" class="item positive-bg" nav-clear menu-close ng-click="login()">Login</a>
<a href="#/app/search" class="item calm-bg" nav-clear menu-close>Search</a>
<a href="#/app/browse" class="item assertive-bg" nav-clear menu-close>Browse</a>
<a href="#/app/playlists" class="item balanced-bg" nav-clear menu-close>Playlists</a>
</ul>
</ion-content>
只有在我做的时候它才会改变
valsf(i, h) = (valsf(i - 1, h) + valsf(i + 1, h)) / 2
为什么会这样?