“1023fdc4858b6b8cb88ff28cafd425b77555be9f”上不存在“drivers/net/wireless/intel/iwlwifi/dvm/commands.h”
提交 b3337630 编写于 作者: B bojiang 提交者: LiAn

fixed 8cc30786 from https://gitee.com/HelloCrease/docs/pulls/7478

jiangbo91@huawei.com

attribute not variable
Signed-off-by: Nbojiang <jiangbo91@huawei.com>
Change-Id: I936c63425981ba7e64b0592edf784c0f91415e70
上级 5f386470
......@@ -9,12 +9,12 @@
@Entry
@Component
struct CompA {
size : number = 100;
size1 : number = 100;
@Builder SquareText(label: string) {
Text(label)
.width(1 * this.size)
.height(1 * this.size)
.width(1 * this.size1)
.height(1 * this.size1)
}
@Builder RowOfSquareTexts(label1: string, label2: string) {
......@@ -22,8 +22,8 @@ struct CompA {
this.SquareText(label1)
this.SquareText(label2)
}
.width(2 * this.size)
.height(1 * this.size)
.width(2 * this.size1)
.height(1 * this.size1)
}
build() {
......@@ -33,12 +33,12 @@ struct CompA {
this.SquareText("B")
// or as long as tsc is used
}
.width(2 * this.size)
.height(1 * this.size)
.width(2 * this.size1)
.height(1 * this.size1)
this.RowOfSquareTexts("C", "D")
}
.width(2 * this.size)
.height(2 * this.size)
.width(2 * this.size1)
.height(2 * this.size1)
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册