Mini UI tree node slow to load thousands of complex design process

The most direct way is to set the tree top does not start, you can solve a certain efficiency.

expandOnLoad Boolean/Number Whether after the commencement of loading. For example: true Expand all nodes; 0 expand the first level node. And so on.

1.  solve the problem description

Tree loaded slow, slow refresh statistics, personnel organization ordering slow, the front DOM rendering slow.

2.  Mini Tree results show

 

3.  Mini Tree business data processing

Tree node and subordinate staff summary : total number, line number, the number of off-line, according to the data organization ID cache Redis .

LAC node data contained art: the art by the organization ID cached Redis .

Note: Each data point to open a level loading personnel.

 

Guess you like

Origin www.cnblogs.com/boonya/p/12034360.html