友链添加按钮
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
[headData]="headData"
|
||||
[template]="{open:{temp:open,param:{true:'可见',false:'不可见'}},delete:{temp:deleteTemp,param:{true:'已删除',false:'未删除'}}}"
|
||||
>
|
||||
<button nz-button (click)="addLink()">添加</button>
|
||||
</common-table>
|
||||
|
||||
<ng-template #open let-value="value">
|
||||
|
||||
@@ -3,7 +3,15 @@ import {CommonModule} from '@angular/common';
|
||||
import {RouterModule} from '@angular/router';
|
||||
import {AdminLinkComponent} from './admin-link.component';
|
||||
import {CommonTableModule} from '../components/common-table/common-table.module';
|
||||
import {NzCheckboxModule, NzFormModule, NzInputModule, NzModalModule, NzSelectModule, NzTagModule} from 'ng-zorro-antd';
|
||||
import {
|
||||
NzButtonModule,
|
||||
NzCheckboxModule,
|
||||
NzFormModule,
|
||||
NzInputModule,
|
||||
NzModalModule,
|
||||
NzSelectModule,
|
||||
NzTagModule
|
||||
} from 'ng-zorro-antd';
|
||||
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
||||
|
||||
|
||||
@@ -23,6 +31,7 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
||||
NzInputModule,
|
||||
NzSelectModule,
|
||||
NzTagModule,
|
||||
NzButtonModule,
|
||||
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user