diff --git a/portal/src/app/main/channel/channel.component.html b/portal/src/app/main/channel/channel.component.html index 7a373d33b936c79dca701da845aa060615176fd9..cfea8b08a2502284b30c0df3711b19546787af2a 100644 --- a/portal/src/app/main/channel/channel.component.html +++ b/portal/src/app/main/channel/channel.component.html @@ -1,5 +1,6 @@ + diff --git a/portal/src/app/main/icons-provider.module.ts b/portal/src/app/main/icons-provider.module.ts index 32a25c71a2da640c0921bce3ecbc9d46df6c7da2..3392fadaf6c424eef4ca63c019befa873ca7de57 100644 --- a/portal/src/app/main/icons-provider.module.ts +++ b/portal/src/app/main/icons-provider.module.ts @@ -8,19 +8,21 @@ import { DashboardOutline, SettingOutline, LogoutOutline, - MailOutline, ApiOutline, HddOutline, + ApartmentOutline, } from '@ant-design/icons-angular/icons'; import {CommonModule} from '@angular/common'; -const icons = [MenuFoldOutline, MenuUnfoldOutline, DashboardOutline, FormOutline, SettingOutline, LogoutOutline, ApiOutline, HddOutline]; +const icons = [MenuFoldOutline, MenuUnfoldOutline, DashboardOutline, + FormOutline, SettingOutline, LogoutOutline, ApiOutline, + HddOutline, ApartmentOutline]; @NgModule({ imports: [CommonModule, NzIconModule.forChild(icons)], exports: [NzIconModule], providers: [ - { provide: NZ_ICONS, useValue: icons } + {provide: NZ_ICONS, useValue: icons} ] }) export class IconsProviderModule { diff --git a/portal/src/app/main/main.component.ts b/portal/src/app/main/main.component.ts index bea236b96dd930cc6f9e1905ad4152d95470e8ed..76439ceee98daca48c038f125eaaa5eff6283a4d 100644 --- a/portal/src/app/main/main.component.ts +++ b/portal/src/app/main/main.component.ts @@ -35,6 +35,13 @@ export class MainComponent implements OnInit { } ] }, + { + title: 'Modbus', + icon: 'apartment', + open: false, + children: [ + ] + }, { title: '系统设置', icon: 'setting',