refresh
Spine.js 中有一个函数,它有这个选项:
You can pass the option {clear: true} to wipe all the existing records.
但是假设我正在实现分页并希望在每次获取时清除所有记录,因为现在当我获取下一页时,新记录只是附加到当前记录集和页面膨胀,这是不可取的。不幸fetch
的是没有这样有用的选择。那么有没有可能实现类似的功能fetch
呢?
refresh
Spine.js 中有一个函数,它有这个选项:
You can pass the option {clear: true} to wipe all the existing records.
但是假设我正在实现分页并希望在每次获取时清除所有记录,因为现在当我获取下一页时,新记录只是附加到当前记录集和页面膨胀,这是不可取的。不幸fetch
的是没有这样有用的选择。那么有没有可能实现类似的功能fetch
呢?