!167 修复授权类型选项bug

Merge pull request !167 from wangzhaoqiang/dev_
This commit is contained in:
芋道源码 2023-06-17 10:57:00 +00:00 committed by Gitee
commit 226cc03d65
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -48,7 +48,7 @@
style="width: 500px"
>
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_OAUTH2_GRANT_TYPE)"
v-for="dict in getDictOptions(DICT_TYPE.SYSTEM_OAUTH2_GRANT_TYPE)"
:key="dict.value"
:label="dict.label"
:value="dict.value"
@ -144,7 +144,7 @@
</Dialog>
</template>
<script lang="ts" name="SystemOAuth2ClientForm" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { DICT_TYPE, getDictOptions, getIntDictOptions } from '@/utils/dict'
import { CommonStatusEnum } from '@/utils/constants'
import * as ClientApi from '@/api/system/oauth2/client'