mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-19 13:25:07 +08:00
🐛 修复 notify 在 IDEA 报错的问题
This commit is contained in:
@ -49,7 +49,7 @@ defineOptions({ name: 'SystemNotifyMessageDetail' })
|
||||
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
const detailLoading = ref(false) // 表单的加载中
|
||||
const detailData = ref() // 详情数据
|
||||
const detailData = ref({} as NotifyMessageApi.NotifyMessageVO) // 详情数据
|
||||
|
||||
/** 打开弹窗 */
|
||||
const open = async (data: NotifyMessageApi.NotifyMessageVO) => {
|
||||
|
@ -28,7 +28,7 @@
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
|
||||
:key="dict.value"
|
||||
:key="dict.value as number"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
@ -52,7 +52,7 @@
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE)"
|
||||
:key="dict.value"
|
||||
:key="dict.value as number"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user