完善撤回逻辑

This commit is contained in:
2025-05-17 16:36:42 +08:00
parent 404824bf07
commit 82cfa36e03
6 changed files with 55 additions and 47 deletions

View File

@@ -28,8 +28,7 @@ export class DOBlock {
}
public set_show(show: number): void {
this.data.show = show
if (show == this.get_correct())
this.checked = true
this.checked = show == this.get_correct()
StorageManager.getInstance().onChanged()
}