提交 f0223453 编写于 作者: S swx1239486

修改demo示例代码使之成功运行

Signed-off-by: Nswx1239486 <songqinqin4@huawei.com>
上级 ab872243
...@@ -479,7 +479,7 @@ struct ScaleCapabilitySample { ...@@ -479,7 +479,7 @@ struct ScaleCapabilitySample {
@Component @Component
struct ExtensionCapabilitySample1 { struct ExtensionCapabilitySample1 {
@State rate: number = 0.60 @State rate: number = 0.60
const appList: number [] = [0, 1, 2, 3, 4, 5, 6, 7] readonly appList: number [] = [0, 1, 2, 3, 4, 5, 6, 7]
// 底部滑块,可以通过拖拽滑块改变容器尺寸 // 底部滑块,可以通过拖拽滑块改变容器尺寸
@Builder slider() { @Builder slider() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册