fix error in all libraries
This commit is contained in:
@@ -2,13 +2,12 @@ import { Component } from '@angular/core';
|
|||||||
import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router';
|
import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router';
|
||||||
import { NzLayoutModule } from 'ng-zorro-antd/layout';
|
import { NzLayoutModule } from 'ng-zorro-antd/layout';
|
||||||
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
||||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
|
||||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||||
import {ModalNav} from "./components/modalNav/modalNav";
|
import {ModalNav} from "./components/modalNav/modalNav";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, NzFlexDirective, NzIconDirective, RouterLinkActive, RouterLink, ModalNav],
|
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, NzIconDirective, RouterLinkActive, RouterLink, ModalNav],
|
||||||
templateUrl: './app.html',
|
templateUrl: './app.html',
|
||||||
styleUrl: './app.css'
|
styleUrl: './app.css'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {StockInfo} from "../../interfaces/stock.interface";
|
import {StockInfo} from "../../interfaces/stock.interface";
|
||||||
import {NzTableComponent} from "ng-zorro-antd/table";
|
import {NzTableComponent} from "ng-zorro-antd/table";
|
||||||
import {NzButtonComponent} from "ng-zorro-antd/button";
|
|
||||||
import {ModalNav} from "../../components/modalNav/modalNav";
|
import {ModalNav} from "../../components/modalNav/modalNav";
|
||||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||||
|
|
||||||
@@ -9,7 +8,6 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
|
|||||||
selector: 'app-stock-table',
|
selector: 'app-stock-table',
|
||||||
imports: [
|
imports: [
|
||||||
NzTableComponent,
|
NzTableComponent,
|
||||||
NzButtonComponent,
|
|
||||||
ModalNav,
|
ModalNav,
|
||||||
NzIconDirective
|
NzIconDirective
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {NzTableComponent} from "ng-zorro-antd/table";
|
|
||||||
import {StockTable} from "../../compontents/stock-table/stock-table";
|
import {StockTable} from "../../compontents/stock-table/stock-table";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-stock',
|
selector: 'app-stock',
|
||||||
imports: [
|
imports: [
|
||||||
NzTableComponent,
|
|
||||||
StockTable
|
StockTable
|
||||||
],
|
],
|
||||||
templateUrl: './stock.html',
|
templateUrl: './stock.html',
|
||||||
|
|||||||
@@ -4,10 +4,7 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-welcome',
|
selector: 'app-welcome',
|
||||||
imports: [
|
imports: [],
|
||||||
ModalNav,
|
|
||||||
NzIconDirective
|
|
||||||
],
|
|
||||||
templateUrl: './welcome.html',
|
templateUrl: './welcome.html',
|
||||||
styleUrl: './welcome.css'
|
styleUrl: './welcome.css'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user