mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-11-07 21:58:43 +08:00
🐛 修复 IDEA 在 v-for="dict in getIntDictOptions(...)" 时,el-option 的 key 会告警的问题
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<el-select v-model="formData.status" clearable placeholder="请选择状态">
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
|
||||
:key="dict.value as number"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
|
||||
:key="dict.value as number"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user