mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
@ -512,13 +512,15 @@ export class Modal implements ComponentInterface, OverlayInterface {
|
||||
*/
|
||||
this.currentBreakpoint = this.initialBreakpoint;
|
||||
|
||||
const data = {
|
||||
...this.componentProps,
|
||||
modal: this.el,
|
||||
};
|
||||
|
||||
const { inline, delegate } = this.getDelegate(true);
|
||||
this.usersElement = await attachComponent(delegate, this.el, this.component, ['ion-page'], data, inline);
|
||||
this.usersElement = await attachComponent(
|
||||
delegate,
|
||||
this.el,
|
||||
this.component,
|
||||
['ion-page'],
|
||||
this.componentProps,
|
||||
inline
|
||||
);
|
||||
|
||||
await deepReady(this.usersElement);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user