what I want to do is to display the loading.gif diagram when the picture is not loaded.
my picture (figure 9) is in a div1, and the address of the picture is in the array imgPath = []. When the array is empty, the div1, of div1 is created
when the array is not empty. I wrote img.onload, in the mounted hook function, but it seems that because the div is not created, this img.onload has no effect. I don"t know if this is the case. Of course, my focus is on how to display the loading.gif diagram