🐛 修复 post 和 dept 在 IDEA 报错的问题

This commit is contained in:
YunaiV
2023-12-02 10:20:09 +08:00
parent d6ff66dc1d
commit a77173f2ae
7 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@
<el-select v-model="formData.status" 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"
/>

View File

@ -28,7 +28,7 @@
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable>
<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"
/>