filter过滤器

过滤掉为null的数据
this.userList = res.obj.filter(item => item != null);
posted @   苏小白啊  阅读(144)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示