1
0
Fork 0

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

This commit is contained in:
IvisTang 2025-12-31 18:35:29 +08:00
parent 9b51101c27
commit 29fd3f0557
1 changed files with 1 additions and 1 deletions

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;
}