该代码存在以下错误:

  1. <transition-gruop> 应为 <transition-group>。
  2. 在 computed 中的 ComputedList 函数中,缺少 return 语句。
  3. 在 computed 中的 ComputedList 函数中,nameList.filter() 中应该为 return nameList.filter()。
  4. 在 methods 中的 beforeEnter 函数中,opacity 和 height 的值应该为字符串,如 el.style.opacity='0'。
  5. 在 methods 中的 enter 函数中的最后一行有多余的 })。
  6. 在 methods 中的 leave 函数中的最后一行有多余的 })。
  7. 在 methods 中的 leave 函数中,opacity 和 height 的值应该为字符串,如 Velocity(el,{opacity:'0',height:'0'},{complete:done})
!DOCTYPE htmlhtml	head		meta charset=utf-8		titletitle		script src=httpwwwmrfrontcomdocsvelocityjsindexhtmlscript	head	body		div id=app			input placeholder=请输入要查找的内容 v-model=query			transition-gruop n

原文地址: https://www.cveoy.top/t/topic/el1J 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录