通用可编辑tag组件-测试入口

This commit is contained in:
禾几海
2020-07-02 13:15:50 +08:00
parent e1efc88103
commit 1e3472244e
3 changed files with 14 additions and 9 deletions

View File

@@ -1,11 +1,11 @@
<app-common-table [data]="data" [request]="req" cardTitle="文章管理"
[template]="{
<!--<c-common-table [data]="data" [request]="req" cardTitle="文章管理"
[template]="{
dislikeCount:{temp:tag},
readingNumber:{temp:readingNumber},
open:{temp:open},
original:{temp:original,param:{true:'原创',false:'转载'}
}}">
</app-common-table>
}}">-->
<!--</c-common-table>-->
<ng-template #tag let-value="value">
<nz-tag [nzColor]="'#87d068'">{{value}}</nz-tag>
</ng-template>
@@ -21,3 +21,6 @@
<ng-template #open let-value="value">
<label nz-checkbox nzDisabled [ngModel]="value"></label>
</ng-template>
<editable-tag >hhh</editable-tag>