The effect is invalid after using swiper paging refresh in mint-ui.

clipboard.png

clipboard.png

clipboard.png

clipboard.png

clipboard.png

clipboard.png

seems to refresh the slidesPerView does not work,
but the browser shows that the width of the slide is the width of the current device, rather than dividing the current width into three parts. Other parts of the
project have also introduced the same effect, but it is normal, but there is a problem as soon as this page is refreshed.
I don"t know if there is any conflict, or what properties need to be set

.
Mar.02,2021

I think you should carefully check the initialization time of your slidesPerView; the possible reason is that your initialization time is incorrect, for example, data is not obtained, dom is not mounted, and so on.
for more help, you need to post a complete code, or at least have a demo, so that people can clearly find the problem.


The

problem has been solved. Finally, the watch listening path has been changed, and then the method of loading swiper can be called again

.

clipboard.png

Menu