MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / refresh

Method refresh

lib/DataPaging/src/index.ts:634–647  ·  view source on GitHub ↗

* 刷新页面,重新渲染分页元素 * @param data 新的数据 * @example * 当总页数5页,当前在第3页,把第3页的数据删完,后面2页的数据会自动往前,需要重新计算数据 * 且重新计算的数据的页数大于当前页(第3页)时,当前页不变,若小于当前页(第3页),则当前页为计算好的最大页

(data: T[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

initVConsoleFunction · 0.80
initErudaFunction · 0.80
addBoxItemViewFunction · 0.80
setEventFunction · 0.80

Calls 1

afterMethod · 0.95

Tested by

no test coverage detected