Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 05eb262

Browse files
author
周刘通
committed
#fix $event.stopPropagation()
1 parent 99a87ba commit 05eb262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web-ng/src/app/features/home/components/home.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
<div id="modal">
3434
<div (click)="homeService.modalStatus=null;" class="ModalManager modal fade" [class.in]="!!homeService.modalStatus" [ngStyle]="{display: homeService.modalStatus?'block':'none'}">
35-
<ng-container (click)="$event.stopPropagation()" [ngSwitch]="homeService.modalStatus">
35+
<div (click)="$event.stopPropagation()" [ngSwitch]="homeService.modalStatus">
3636
<ng-container *ngSwitchCase="1">
3737
<nx-login-in></nx-login-in>
3838
</ng-container>
@@ -42,7 +42,7 @@
4242
<ng-container *ngSwitchCase="3">
4343
<nx-forgot-password></nx-forgot-password>
4444
</ng-container>
45-
</ng-container>
45+
</div>
4646
</div>
4747
</div>
4848
<div (click)="drawerOpen=false;" class="drawer-backdrop fade in" *ngIf="drawerOpen"></div>

0 commit comments

Comments
 (0)