当前位置:网站首页>Antd tree tree tree selector subclass required

Antd tree tree tree selector subclass required

2022-06-22 19:49:00 Attapulgite and procedural ape

 //1 Filter parent classes of required items id 2 Fill in all subclasses to get the parent node up , Make up parent node id Array   Both comparisons (2 Contained in the 1 that will do )
          let newuni = []; /// newData All subclasses get the parent node up   Form an array of parent nodes 
          let comparedata = []; // Filter parent classes of required items id
      If     comparedata.every((val) => newuni.includes(val))  by true , That is, the required items have been filled in , Otherwise, it is not filled in 
原网站

版权声明
本文为[Attapulgite and procedural ape]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206221804532255.html