画布清除

This commit is contained in:
lzp
2026-03-11 17:02:32 +08:00
parent cbebf804bd
commit adf562bbe4
7 changed files with 19 additions and 2 deletions

View File

@@ -183,4 +183,8 @@ export class StateManager {
this.nodes.value = JSON.parse(state.nodes)
}
dispose() {
this.historyList.value = []
this.historyIndex.value = 0
}
}