Now there is a problem that img uses ng-repeat to pull a variable array from the server (and the size of each group of pictures is not necessarily the same). Every time the array changes, the pictures seem to jump out one by one (those that have already been loaded won’t). I don’t know whether I can use track by to optimize it or what other optimization scheme is available.
Jumping one by one is not an angularjs problem. It is mainly because there is no space for the picture at the beginning. The size of the picture comes out after loading, so it will “jump.”
If you write the width of the img tag, you won’t jump.