类的导出:1. export default 类名 2.module.exports=类名;
数组的filter函数,为过滤函数,检测到符合条件的return ture,得到一个新数组装着符合条件的数据
类的导出:1. export default 类名 2.module.exports=类名;
数组的filter函数,为过滤函数,检测到符合条件的return ture,得到一个新数组装着符合条件的数据
本文标题:React native-react项目小知识点
本文链接:https://www.haomeiwen.com/subject/fnxstxtx.html
网友评论