From 157baf758d028232674dd5caf2e4e0ca801f8898 Mon Sep 17 00:00:00 2001 From: swx1239486 Date: Tue, 7 Mar 2023 09:38:40 +0800 Subject: [PATCH] bugfix Signed-off-by: swx1239486 --- .../key-features/multi-device-app-dev/responsive-layout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/responsive-layout.md b/zh-cn/application-dev/key-features/multi-device-app-dev/responsive-layout.md index f571a5f571..cc900b99e4 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/responsive-layout.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/responsive-layout.md @@ -317,7 +317,7 @@ struct GridRowSample1 { @State private currentBreakpoint: string = 'unknown' build() { // 修改断点的取值范围同时启用更多断点,注意,修改的断点值后面必须加上vp单位。 - GridRow(breakpoints: {value: ['600vp', '700vp', '800vp', '900vp', '1000vp'], + GridRow({breakpoints: {value: ['600vp', '700vp', '800vp', '900vp', '1000vp'], reference: BreakpointsReference.WindowSize}}) { GridCol({span:{xs: 12, sm: 12, md: 12, lg:12, xl: 12, xxl:12}}) { Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { -- GitLab