From 0661530cd858df9d5baec775eecd3f28aab99282 Mon Sep 17 00:00:00 2001 From: yaoyuchi Date: Mon, 7 Mar 2022 16:06:45 +0800 Subject: [PATCH] fixed d347b30 from https://gitee.com/superFat/docs/pulls/1827 fix sidebar demo Signed-off-by: yaoyuchi --- .../reference/arkui-ts/ts-container-sidebarcontainer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md index aa7d64c8a4..d3f5d40f7d 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-sidebarcontainer.md @@ -77,7 +77,7 @@ struct SideBarContainerExample { @State current: number = 1 build() { - SideBarContainer({ type: SideBarContainerType.Embed }) + SideBarContainer(SideBarContainerType.Embed) { Column() { ForEach(this.arr, (item, index) => { -- GitLab