diff --git a/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationModal.vue b/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationModal.vue index b53b3122c..a49a9fe8b 100644 --- a/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationModal.vue +++ b/apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationModal.vue @@ -64,11 +64,23 @@ type TabKeys = | 'props' | 'scope'; -const defaultModel = { +const defaultModel: OpenIddictApplicationDto = { applicationType: 'web', + clientId: '', clientType: 'public', consentType: 'explicit', -} as OpenIddictApplicationDto; + creationTime: new Date(), + extraProperties: {}, + id: '', + requirements: { + features: { + requirePkce: false, + }, + }, + settings: { + tokenLifetime: {}, + }, +}; const form = ref(); const formModel = ref({ ...defaultModel });