Browse Source

fix(vben5): Fixed initialization of the new application failed

pull/1183/head
colin 11 months ago
parent
commit
f0da2a4468
  1. 16
      apps/vben5/packages/@abp/openiddict/src/components/applications/ApplicationModal.vue

16
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<FormInstance>();
const formModel = ref<OpenIddictApplicationDto>({ ...defaultModel });

Loading…
Cancel
Save