feat: update

parent f22dab42
...@@ -18,7 +18,6 @@ import * as jQuery from 'jquery/dist/jquery.min.js'; ...@@ -18,7 +18,6 @@ import * as jQuery from 'jquery/dist/jquery.min.js';
selector: 'app-login', selector: 'app-login',
templateUrl: './login.component.html', templateUrl: './login.component.html',
styleUrls: ['./login.component.css'], styleUrls: ['./login.component.css'],
providers: [AppService]
}) })
export class LoginComponent implements OnInit { export class LoginComponent implements OnInit {
DataStore = DataStore; DataStore = DataStore;
......
...@@ -49,6 +49,7 @@ import {WindowsComponent} from './monitor-page/windows/windows.component'; ...@@ -49,6 +49,7 @@ import {WindowsComponent} from './monitor-page/windows/windows.component';
import {BrowserXhr} from '@angular/http'; import {BrowserXhr} from '@angular/http';
import {NgProgressModule, NgProgressBrowserXhr} from 'ngx-progressbar'; import {NgProgressModule, NgProgressBrowserXhr} from 'ngx-progressbar';
import {AppService, HttpService} from './app.service'; import {AppService, HttpService} from './app.service';
import {LayerService} from './elements/layer/layer.service';
@NgModule({ @NgModule({
imports: [ imports: [
......
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {LayerService} from '../layer/layer.service';
export class Menu { export class Menu {
name: string; name: string;
...@@ -9,7 +10,7 @@ export class Menu { ...@@ -9,7 +10,7 @@ export class Menu {
@Component({ @Component({
selector: 'app-element-server-menu', selector: 'app-element-server-menu',
templateUrl: './server-menu.component.html', templateUrl: './server-menu.component.html',
styleUrls: ['./server-menu.component.scss'] styleUrls: ['./server-menu.component.scss'],
}) })
export class ElementServerMenuComponent implements OnInit { export class ElementServerMenuComponent implements OnInit {
MenuList: Array<any>; MenuList: Array<any>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment