MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / changePage

Function changePage

front/common.js:223–229  ·  view source on GitHub ↗
(direction)

Source from the content-addressed store, hash-verified

221
222 // 切换页面
223 changePage(direction) {
224 const newPage = this.currentPage + direction;
225 if (newPage >= 1 && newPage <= this.getTotalPages()) {
226 this.currentPage = newPage;
227 this.refresh();
228 }
229 },
230
231 // 改变每页大小
232 changePageSize() {

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.80

Tested by

no test coverage detected