Fix spelling errors (#5224)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
davidche
2025-02-21 15:47:27 +08:00
committed by GitHub
parent 1a755e75c5
commit bf5f6ec262
5 changed files with 6 additions and 6 deletions

View File

@ -555,7 +555,7 @@ class ComponentBase(ABC):
eles.extend(self._canvas.get_component(cpn_id)["obj"]._param.query)
continue
eles.append({"name": self._canvas.get_compnent_name(cpn_id), "key": cpn_id})
eles.append({"name": self._canvas.get_component_name(cpn_id), "key": cpn_id})
else:
eles.append({"key": q["value"], "name": q["value"], "value": q["value"]})
return eles