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