Fix inline alert issue (#16454)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2022-03-04 10:50:33 +08:00 committed by GitHub
parent 4a9107af93
commit 3c9fc9fa5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
<clr-alert [(clrAlertClosed)]="alertClose" [clrAlertType]="inlineAlertType" [clrAlertClosable]="inlineAlertClosable" [clrAlertAppLevel]="useAppLevelStyle"> <clr-alert *ngIf="!alertClose" [(clrAlertClosed)]="alertClose" [clrAlertType]="inlineAlertType" [clrAlertClosable]="inlineAlertClosable" [clrAlertAppLevel]="useAppLevelStyle">
<div class="alert-item" *ngIf="!alertClose"> <div class="alert-item" *ngIf="!alertClose">
<span class="alert-text" [class.alert-text-blink]="blinking"> <span class="alert-text" [class.alert-text-blink]="blinking">
{{errorMessage}} {{errorMessage}}