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

@@ -105,7 +105,7 @@ export function slider(config: ISlider) {
export function slideItem(item: View | View[], config?: ISlideItem) {
return (new SlideItem).also((it) => {
it.layoutConfig = layoutConfig().fit()
it.layoutConfig = layoutConfig().most()
if (item instanceof View) {
it.addChild(item)
} else {