我使用以下代码更新currentPage我的应用程序中的指标:
pgcNotification.currentPage = 3;
pgcNotification.numberOfPages = 4;
Run Code Online (Sandbox Code Playgroud)
虽然,指标永远不会改变,并始终保持在第一位置.
问题是你首先要说的是页数,其次是当前的页面.从来没有相反的方式.
pgcNotification.numberOfPages = 4;
pgcNotification.currentPage = 3;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1363 次 |
| 最近记录: |