🐛 修复 social 在 IDEA 报错的问题

(cherry picked from commit a6deb69ddc)
This commit is contained in:
YunaiV
2023-12-02 23:01:31 +08:00
committed by shizhong
parent 94a9876204
commit cb7543ef3d
4 changed files with 12 additions and 15 deletions

View File

@ -19,7 +19,7 @@
>
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
:key="dict.value"
:key="dict.value as number"
:label="dict.label"
:value="dict.value"
/>
@ -131,9 +131,6 @@ import { createImageViewer } from '@/components/ImageViewer'
defineOptions({ name: 'SocialUser' })
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
const loading = ref(true) // 列表的加载中
const total = ref(0) // 列表的总页数
const list = ref([]) // 列表的数据