Address the introduction of Swiper in Vue, when data rendering, there is no sliding problem

Source: Internet
Author: User

A few days ago in the process of work, in the data rendering, the swiper that part of the Carousel diagram is not scrolling, manual swipe also has no effect. Always feel the data start rendering, is not the data rendering time, and did not generate Swiper node it. Then the first feeling is to put the control swiper rotation function in the initialization event,

Put in the initialization event:

The results did not reach their own ideal situation, and later placed in the data acquisition where the event of a carousel,

The Swiper can finally slide. In fact, this can not be regarded as a big problem point, but simply want to record a bit. In the future, in the face of similar problems, more should be from the data to achieve the start. This time as a work of the episode it. You also want to get a bigger boost. Work hard ...

Address the introduction of Swiper in Vue, when data rendering, there is no sliding problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.