修复公司类的子组件类型,统一为component接口,增强代码一致性

This commit is contained in:
2025-12-31 18:35:29 +08:00
parent 9b51101c27
commit 29fd3f0557
+1 -1
View File
@@ -20,7 +20,7 @@ class Department implements component {
class Company implements component {
name: string;
children: Company[] = [];
children: component[] = [];
constructor(name: string) {
this.name = name;
}