Browse Source
Merge pull request #1183 from colinin/vben5-fix-new-application
fix(vben5): Fixed initialization of the new application failed
pull/1211/head
yx lin
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
14 additions and
2 deletions
-
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 }); |
|
|
|
|