Skip to content

Commit 1486025

Browse files
committed
fix: type error
1 parent 4b6103a commit 1486025

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/views/system/notice/NoticeForm.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
<el-select v-model="formData.type" clearable placeholder="请选择公告类型">
1818
<el-option
1919
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_NOTICE_TYPE)"
20-
:key="parseInt(dict.value)"
20+
:key="parseInt(dict.value as any)"
2121
:label="dict.label"
22-
:value="parseInt(dict.value)"
22+
:value="parseInt(dict.value as any)"
2323
/>
2424
</el-select>
2525
</el-form-item>
2626
<el-form-item label="状态" prop="status">
2727
<el-select v-model="formData.status" clearable placeholder="请选择状态">
2828
<el-option
2929
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
30-
:key="parseInt(dict.value)"
30+
:key="parseInt(dict.value as any)"
3131
:label="dict.label"
32-
:value="parseInt(dict.value)"
32+
:value="parseInt(dict.value as any)"
3333
/>
3434
</el-select>
3535
</el-form-item>

0 commit comments

Comments
 (0)