🐛 修复 social 在 IDEA 报错的问题

(cherry picked from commit a6deb69ddc)
This commit is contained in:
YunaiV
2023-12-02 23:01:31 +08:00
committed by shizhong
parent 94a9876204
commit cb7543ef3d
4 changed files with 12 additions and 15 deletions

View File

@ -28,7 +28,7 @@
>
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
:key="dict.value"
:key="dict.value as number"
:label="dict.label"
:value="dict.value"
/>
@ -43,7 +43,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"
/>
@ -62,7 +62,7 @@
<el-select v-model="queryParams.status" class="!w-240px" clearable placeholder="请选择状态">
<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"
/>
@ -169,11 +169,11 @@ const list = ref([]) // 列表的数据
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
name: null,
socialType: null,
userType: null,
clientId: null,
status: null
name: undefined,
socialType: undefined,
userType: undefined,
clientId: undefined,
status: undefined
})
const queryFormRef = ref() // 搜索的表单