From 2a065d7c6d2e3d2e506e4864b5796d55a4272fed Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 23 Mar 2022 11:22:38 +0800 Subject: [PATCH] edit --- src/app/routes/routes.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/routes.module.ts b/src/app/routes/routes.module.ts index 5f911e3a..a185d251 100644 --- a/src/app/routes/routes.module.ts +++ b/src/app/routes/routes.module.ts @@ -6,12 +6,12 @@ import { DashboardComponent } from './dashboard/dashboard.component'; import { RouteRoutingModule } from './routes-routing.module'; import { BasicTableComponent } from './commom/components/basic-table/basic-table.component'; -const COMPONENTS = [DashboardComponent]; +const COMPONENTS = [DashboardComponent, BasicTableComponent]; const COMPONENTS_NOROUNT: Array> = []; @NgModule({ imports: [SharedModule, RouteRoutingModule], - declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT, BasicTableComponent], + declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT], entryComponents: COMPONENTS_NOROUNT }) export class RoutesModule {}