直接用jieguoItem就可以
const jieguoItem = ref({}) const getJieguoList = async () => { let res = await getJieguoApi() let index = parseInt(Math.random() * res.data.length - 1) jieguoItem.value = res.data[index] }
报告相同问题?
京公网安备 11010502049817号