diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/adaptive-layout.md b/zh-cn/application-dev/key-features/multi-device-app-dev/adaptive-layout.md index 2d40d7b8fd392e60519d39b802cfe53aac767593..10963cd30c214bcaad17668976d3f2b38391312e 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/adaptive-layout.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/adaptive-layout.md @@ -424,8 +424,8 @@ struct ScaleCapabilitySample { .border({ width: 2, color: "#66F1CCB8"}) // 边框,仅用于展示效果 } .backgroundColor("#FFFFFF") - .height(this.sliderWidth) - .width(this.sliderHeight) + .height(this.sliderHeight) + .width(this.sliderWidth) this.slider() }.width('100%')