修复授权类型选项bug

This commit is contained in:
wangzhaoqiang 2023-06-08 16:25:32 +08:00
parent 3e549a6862
commit 119b499a92

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'