Ant design mobile Carousel display exception

the ant design mobile Carousel control displays an exception when there is only one picture; the screenshot has been uploaded

style of a picture


related codes

<Carousel
                    className="my-carousel"
                    autoplay={false}//
                    infinite={false}//
                    dots={true} //
                    selectedIndex={0}
                    swipeSpeed={35}
                    beforeChange={(from, to) => console.log(`slide from ${from} to ${to}`)}
                    afterChange={index => console.log("slide to", index)}
                >
Mar.22,2021

indicates that the point does not display


I would like to ask whether the problem of abnormal, ant design mobile Carousel display has been solved


setting the initial height?


has the landlord solved the problem

  • Where can I modify the back-end API of Antd?

    Today, I want to learn and use Antd to write a user login page. Antd officially provides Demo directly npm start . The structure of the source code I look at is as follows: I want to modify the fakeAccountLogin here to interact with the local da...

    Mar.20,2021
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-1b4057d-2c4fc.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-1b4057d-2c4fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?