== to ===
This commit is contained in:
@@ -11,7 +11,7 @@ export class DOBlock {
|
||||
this.data = dataBlock
|
||||
this.preset = preset
|
||||
this.correct = correct
|
||||
this.checked = preset || (dataBlock.show == correct)
|
||||
this.checked = preset || (dataBlock.show === correct)
|
||||
}
|
||||
|
||||
// ====================================持久化数据
|
||||
@@ -25,7 +25,7 @@ export class DOBlock {
|
||||
|
||||
public set_show(show: number): void {
|
||||
this.data.show = show
|
||||
this.checked = show == this.get_correct()
|
||||
this.checked = show === this.get_correct()
|
||||
StorageManager.getInstance().onStageChanged()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user