From 9f6f970ede90fa861d8dd21b70b5f0f29b3b996d Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Wed, 21 Dec 2022 14:27:42 +0800 Subject: [PATCH] houhaoyu@huawei.com changelog in 3.2.9.1 Signed-off-by: houhaoyu Change-Id: I7ac5f9137fc2ff1c9b3193c721f1261976552f86 --- .../OpenHarmony_3.2.9.1/changelogs-arkui.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md index a60636178b..4ce56f7346 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md @@ -100,3 +100,27 @@ ArkUI子系统alertDialog, actionSheet, customDialog组件及prompt, promptActio **适配指导** 按文档提示修改,使用其它装饰器变量或常规变量赋值。 + +## cl.arkui.5 单一子组件校验补全 + +对 'Button', 'FlowItem','GridItem','GridCol','ListItem','Navigator','Refresh','RichText','ScrollBar','StepperItem','TabContent'等只支持一个子组件的开启校验。 + + +**变更影响** + +如果上述组件内有超过一个子组件,编译报错。 + +**关键的接口/组件变更** + +```js +RichText('RichText') { + Text('Text1') + Text('Text2') +} +/* ArkTS:ERROR File: /root/newOH/developtools/ace-ets2bundle/compiler/sample/pages/home.ets:25:7 + The component 'RichText' can only have a single child component. */ +``` + +**适配指导** + +按报错提示修改,指定组件内只能有一个子组件。 -- GitLab