Commit 2ceb3b97 by YunaiV

🐛 修复 oauth2 在 IDEA 报错的问题

parent 5766dc81
......@@ -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 }}
......
......@@ -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() // 搜索的表单
......
......@@ -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() // 搜索的表单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment