Skip to content

huangzhizhen/VUE_TODOLISTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VUE_TODOLISTS

.实现技术:

  • 组件模块化思想
  • 父组组件之间的数据双向传递(porps、this.$emit)
  • 使用stylus语法对css样式进行编译(实现css样式的模块化、优化代码结构,将具有共同样式的css代码组装起来,组装成函数,需要时直接引入调用即可) 使用watch实现对数据的监听
  • 使用computed实现对数据的计算,实现过滤显示效果 -js部分 1).使用.unshift()实现向数组中添加元素(这里添加向数组添加的元素为对象类型) 2)使用.filter(v=>条件)实现对数组过滤,即筛选出符合条件的元素 3)使用.findIndex((v,i)=>条件)实现数组查找,返回的时满足条件元素的数组下标 4)使用.splice(index,n)实现删除数组中满足条件的元素

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published