[Vue] --- cat's eye js components used in the project when the cause ------- --------- loading load can not be removed

 Knowledge is a function of loading

 No execution of loading will return a new vm.

Similar closures? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

 

 So the root cause is to insert and delete elements are not the same. It can not be deleted. They need to become a common target for the job.

 

 

 Become an object's method is the same: Reserved,

loading there will be a return value after execution (), the return value is vm

The loading into vm. Add and remove such perform on the same vm.

 

 

Summary: 
bound to the same role of the object ,

 

Guess you like

Origin www.cnblogs.com/yuanjili666/p/11361142.html