补充积分逻辑

This commit is contained in:
2025-05-17 16:45:25 +08:00
parent 82cfa36e03
commit 3cf57b0fd2
3 changed files with 11 additions and 9 deletions

View File

@@ -29,6 +29,8 @@ export class DOBlock {
public set_show(show: number): void {
this.data.show = show
this.checked = show == this.get_correct()
if (this.checked == false)
this.set_score(0)
StorageManager.getInstance().onChanged()
}