From b35198b397b31898e43d12678f0550c00a9a74d4 Mon Sep 17 00:00:00 2001 From: swx1239486 Date: Mon, 6 Mar 2023 16:16:32 +0800 Subject: [PATCH] bugfix Signed-off-by: fanzhaonan --- .../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 d823ccbc1e..625cdf7149 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 @@ -316,7 +316,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