摘要: 做项目的时候: 有这么一个需求,当id相同的时候,将所对应的对象返回给计算属性 视频内的代码运行正常,且无报错: const currCategory = computed(()=>{ return menuList.value.find(item => item.id category.value 阅读全文
posted @ 2021-11-23 10:09 Jacky02 阅读(138) 评论(0) 推荐(0)