38、后端返回空数据则删除不显示

          //过滤数据,status为空则删除数据
          Array.from(data).forEach((item, index) => {
            if (item.status.length=== 0) {
              console.log(item, index);
              data.splice(data[index], 1);
            }
          });
原文地址:https://www.cnblogs.com/xlfdqf/p/11468745.html