提交 64ca471f 编写于 作者: B bojiang

jiangbo91@huawei.com

Signed-off-by: Nbojiang <jiangbo91@huawei.com>
Change-Id: I4d6c09740c43cd379f82647e3acbc82d0c20658b
上级 d37d67ba
# arkui子系统ChangeLog
## ArkUI系统组件使用限制
ArkUI系统组件必须在struct的build方法,pageTransition方法,@Builder修饰的函数内使用。
**示例:**
```
@Entry
@Component
struct Index {
build() {
Row() {
}
}
}
// ERROR:UI component 'Text' cannot be used in this place.
Text('Hello World')
```
**变更影响**
如果ArkUI系统组件不在struct的build方法,pageTransition方法,@Builder修饰的函数内使用,编译报错。
**关键的接口/组件变更**
不涉及。
**适配指导**
ArkUI系统组件必须在struct的build方法,pageTransition方法,@Builder修饰的函数内使用。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册