mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(overlays): dismiss last overlay
This commit is contained in:
@ -22,7 +22,7 @@ export class LoadingController implements OverlayController {
|
||||
* Dismiss the open loading overlay.
|
||||
*/
|
||||
@Method()
|
||||
dismiss(data?: any, role?: string, loadingId = -1) {
|
||||
dismiss(data?: any, role?: string, loadingId?: number) {
|
||||
return dismissOverlay(this.doc, data, role, 'ion-loading', loadingId);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user