fix(interface): 界面兼容性改进

This commit is contained in:
2026-01-04 04:14:57 +08:00
parent 4d494546b8
commit b8b1c5e0d7
6 changed files with 54 additions and 10 deletions

View File

@@ -61,11 +61,7 @@ class MCQPuzzle(BasePuzzleWidget):
self.puzzle.refresh()
def compose(self):
setting: Setting = self.atom.registry["nucleon"].metadata["orbital"]["puzzles"][
self.alia
]
logger.debug(f"Puzzle Setting: {setting}")
logger.debug(f"WIRED INDEX: {len(self.inputlist)}")
setting: Setting = self.atom.registry["nucleon"]["puzzles"][self.alia]
if len(self.inputlist) > len(self.puzzle.options):
logger.debug("ERR IDX")
logger.debug(self.inputlist)