公共表格组件-title传null隐藏头部显示

This commit is contained in:
禾几海
2020-07-10 23:15:05 +08:00
parent 8a8302eb51
commit eb4b9ea440
2 changed files with 12 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ export class CommonTableComponent<T> implements OnInit, OnChanges {
*/
@Input() headData: Data<T>[];
@Input() request: RequestObj;
@Input() cardTitle: string;
@Input() cardTitle: string | null;
@Input() template: {
[fieldValue: string]: {
temp: TemplateRef<any>,