Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/iChochy/NCE
/ loadPreviousUnit
Method
loadPreviousUnit
js/ReadingSystem.js:719–723 ·
view source on GitHub ↗
* 加载上一个单元
()
Source
from the content-addressed store, hash-verified
717
* 加载上一个单元
718
*/
719
loadPreviousUnit() {
720
if
(this.state.currentUnitIndex > 0) {
721
this.loadUnitByIndex(this.state.currentUnitIndex - 1);
722
}
723
}
724
725
/**
726
* 加载下一个单元
Callers
1
bindNavigation
Method · 0.95
Calls
1
loadUnitByIndex
Method · 0.95
Tested by
no test coverage detected