🐛 修复 IDEA 在 v-for="dict in getIntDictOptions(...)" 时,el-option 的 key 会告警的问题

This commit is contained in:
YunaiV committed 2023-12-03 09:52:13 +08:00
1 parent 3d2d48b601
commit aecc9bb8cb
37 files changed
+56 -49

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
<el-radio-group v-model="formData.visible">
<el-radio
v-for="dict in getBoolDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING)"
:key="dict.value"
:key="dict.value as string"
:label="dict.value"
>
{{ dict.label }}