APP dynamically loads carousel images

If the carousel pictures in the APP are dynamically loaded, then you will find that they will not rotate (the premise is the mui framework). The mui framework is used here, and the dynamically loaded pictures are not found in the html because the js of the mui cannot be found on the html. Picture, so it will not rotate, you need to manually reset the next rotation

mui(".mui-slider").slider({interval: 3000});;

Then you can rotate

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326001119&siteId=291194637