iOS:fix Slider and rotation

This commit is contained in:
pengfei.zhou
2020-04-07 10:58:44 +08:00
committed by osborn
parent 102f570fb4
commit f3c8d1be31
10 changed files with 17 additions and 45 deletions

View File

@@ -98,7 +98,7 @@ export function slider(config) {
}
export function slideItem(item, config) {
return (new SlideItem).also((it) => {
it.layoutConfig = layoutConfig().fit();
it.layoutConfig = layoutConfig().most();
if (item instanceof View) {
it.addChild(item);
}