未验证 提交 ec800639 编写于 作者: O openharmony_ci 提交者: Gitee

!19287 【master】排查const示例编译问题

Merge pull request !19287 from songqq0825/master
...@@ -190,7 +190,7 @@ struct FlexibleCapabilitySample2 { ...@@ -190,7 +190,7 @@ struct FlexibleCapabilitySample2 {
@Entry @Entry
@Component @Component
struct EquipartitionCapabilitySample { struct EquipartitionCapabilitySample {
const list: number [] = [0, 1, 2, 3] readonly list: number [] = [0, 1, 2, 3]
@State rate: number = 0.6 @State rate: number = 0.6
// 底部滑块,可以通过拖拽滑块改变容器尺寸 // 底部滑块,可以通过拖拽滑块改变容器尺寸
...@@ -709,7 +709,7 @@ struct HiddenCapabilitySample { ...@@ -709,7 +709,7 @@ struct HiddenCapabilitySample {
@Component @Component
struct WrapCapabilitySample { struct WrapCapabilitySample {
@State rate: number = 0.7 @State rate: number = 0.7
const imageList: Resource [] = [ readonly imageList: Resource [] = [
$r('app.media.flexWrap1'), $r('app.media.flexWrap1'),
$r('app.media.flexWrap2'), $r('app.media.flexWrap2'),
$r('app.media.flexWrap3'), $r('app.media.flexWrap3'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册