38, the back-end data is deleted does not return empty display

          // filter data, status data is deleted empty 
          Array.from (Data) .forEach ((Item, index) => {
             IF (item.status.length === 0 ) { 
              the console.log (Item, index); 
              data.splice (Data [index], . 1 ); 
            } 
          });

 

Guess you like

Origin www.cnblogs.com/xlfdqf/p/11468745.html