Initialslide is not valid in swiper

if the slidesPerView I set is 1.2, the initialslide initializer will not take effect. If you comment out the slidesPerView, the setting of the initialslide will take effect. I need both of these attributes. How to solve the problem

?
Mar.24,2021

mine is like this. The problem has been solved

< script >

    var mySwiper = new Swiper('.swiper-container', {
        // autoplay: 5000,//
        // loop: true,
        initialSlide: 0,
        slidesPerView: 4,
        observer: true,
        observeParents: true,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        
    })
    //
    setTimeout(() => {
        mySwiper.slideTo(0, 50, false);
    }, 50);
</script>

I have the same problem. Have you solved it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37dd4-2c0d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37dd4-2c0d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?