Revert "Revert "历史状态管理""

This reverts commit 71b462ba92778625a20cce31e40848595ee03fac.