update:添加类型解决ts报错

This commit is contained in:
puhui999 2023-03-27 12:11:40 +08:00
parent 581b301eed
commit c462bbace5

View File

@ -44,7 +44,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="parseInt(dict.value)"
:label="parseInt(dict.value as string)"
>
{{ dict.label }}
</el-radio>
@ -96,7 +96,7 @@ const formRules = reactive({
channelId: [{ required: true, message: '短信渠道编号不能为空', trigger: 'change' }]
})
const formRef = ref() // Ref
const channelList = ref([]) //
const channelList = ref<SmsChannelApi.SmsChannelVO[]>([]) //
const open = async (type: string, id?: number) => {
modelVisible.value = true