🐛 修复 oauth2 在 IDEA 报错的问题

This commit is contained in:
YunaiV 2023-12-02 20:49:08 +08:00
parent 5766dc81d1
commit 2ceb3b978c
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@
<el-radio-group v-model="formData.status">
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:key="dict.value as number"
:label="dict.value"
>
{{ dict.label }}

View File

@ -23,7 +23,7 @@
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable class="!w-240px">
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:key="dict.value as number"
:label="dict.label"
:value="dict.value"
/>
@ -137,7 +137,7 @@ const queryParams = reactive({
pageNo: 1,
pageSize: 10,
name: null,
status: null
status: undefined
})
const queryFormRef = ref() //

View File

@ -28,7 +28,7 @@
>
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
:key="dict.value"
:key="dict.value as number"
:label="dict.label"
:value="dict.value"
/>
@ -115,7 +115,7 @@ const queryParams = reactive({
pageNo: 1,
pageSize: 10,
userId: null,
userType: null,
userType: undefined,
clientId: null
})
const queryFormRef = ref() //