diff --git a/src/app/routes/menu-manager/components/index/index.component.html b/src/app/routes/menu-manager/components/index/index.component.html index 46fe5229..fb195b06 100644 --- a/src/app/routes/menu-manager/components/index/index.component.html +++ b/src/app/routes/menu-manager/components/index/index.component.html @@ -5,4 +5,10 @@ + + \ No newline at end of file diff --git a/src/app/routes/menu-manager/components/index/index.component.ts b/src/app/routes/menu-manager/components/index/index.component.ts index 9e0d587b..5f5efc8a 100644 --- a/src/app/routes/menu-manager/components/index/index.component.ts +++ b/src/app/routes/menu-manager/components/index/index.component.ts @@ -46,8 +46,6 @@ export class MenuManagerComponentsIndexComponent implements OnInit { loadMenus(appId: string) { this.service.request(this.service.$api_get_one, { appId }, 'POST', false).subscribe(res => { - console.log(res); - this.menus = res; }); } @@ -63,8 +61,6 @@ export class MenuManagerComponentsIndexComponent implements OnInit { } this.service.http.request('GET', `assets/mocks/platform/${this.selectedPlatform.enName}.json`).subscribe((res: any) => { - console.log(res); - this.addMenu(res.menu); }); } @@ -96,24 +92,23 @@ export class MenuManagerComponentsIndexComponent implements OnInit { addMenuRecursion() {} - delMenu(appId: string, menus: Array