mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-09 22:44:31 +00:00
🐛 修复 IDEA 在 v-for="dict in getIntDictOptions(...)" 时,el-option 的 key 会告警的问题
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
<el-radio-group v-model="formData.userType">
|
||||
<el-radio
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
|
||||
:key="dict.value as number"
|
||||
:label="dict.value as number"
|
||||
:key="dict.value"
|
||||
:label="dict.value"
|
||||
>
|
||||
{{ dict.label }}
|
||||
</el-radio>
|
||||
|
||||
Reference in New Issue
Block a user