@@ -46,7 +46,6 @@ export default class History {
pre: 0,
next: 0,
};
-
const currentRecordIndex = historyService.getCurrentRecordIndex();
const records = historyService.getHistoryRecords();
@@ -304,7 +304,7 @@ export default class Load {
// 退出页面清除缓存及其他操作
clear() {
console.error("clear")
- this.layer.uiControl.menu_clear();
+ this.layer.uiControl.menu_clear(true);
console.warn("clear");
}
@@ -49,7 +49,7 @@ export class HistoryService {
setHistoryState(pre, next) {
- console.error(pre, next)
+
this.history.state.pre = pre
this.history.state.next = next