处理报错

main
yanzai 1 year ago
parent ba9db6bdc9
commit 5a50d6af17

@ -112,7 +112,7 @@ const deleteClick = (id) => {
} }
const comboNameShow = (combo_id) => { const comboNameShow = (combo_id) => {
if (Number(combo_id) === 0) return '无关联套餐' if (Number(combo_id) === 0) return '无关联套餐'
return combo_list.value.find((i) => i.combo_id == combo_id).name return combo_list.value.find((i) => i.combo_id == combo_id)?.name
} }
onMounted(() => { onMounted(() => {

Loading…
Cancel
Save