mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix modal
This commit is contained in:
@ -61,6 +61,9 @@ export class IonicComponent extends Component {
|
||||
}
|
||||
|
||||
function appendModeConfig(ComponentType) {
|
||||
if (!ComponentType) {
|
||||
return {};
|
||||
}
|
||||
if (typeof ComponentType === 'object') {
|
||||
return ComponentType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user