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

!11050 文档描述修改

Merge pull request !11050 from luoying_ace/ly1024
...@@ -382,6 +382,7 @@ replaceUrl(options: RouterOptions, mode: RouterMode, callback: AsyncCallback< ...@@ -382,6 +382,7 @@ replaceUrl(options: RouterOptions, mode: RouterMode, callback: AsyncCallback<
| ------- | ------------------------------- | ---- | ---------- | | ------- | ------------------------------- | ---- | ---------- |
| options | [RouterOptions](#routeroptions) | 是 | 替换页面描述信息。 | | options | [RouterOptions](#routeroptions) | 是 | 替换页面描述信息。 |
| mode | [RouterMode](#routermode9) | 是 | 跳转页面使用的模式。 | | mode | [RouterMode](#routermode9) | 是 | 跳转页面使用的模式。 |
| callback | AsyncCallback<void> | 是 | 异常响应回调 |
**错误码:** **错误码:**
......
...@@ -413,9 +413,9 @@ ...@@ -413,9 +413,9 @@
| 名称 | 描述 | | 名称 | 描述 |
| ----------- | -------------------- | | ----------- | -------------------- |
| None | 不支持复制粘贴。 | | None | 不支持复制。 |
| InApp | 支持应用内复制粘贴。 | | InApp | 支持应用内复制。 |
| LocalDevice | 支持设备内复制粘贴。 | | LocalDevice | 支持设备内复制。 |
## HitTestMode<sup>9+</sup> ## HitTestMode<sup>9+</sup>
......
...@@ -186,7 +186,7 @@ struct Index { ...@@ -186,7 +186,7 @@ struct Index {
Column() { Column() {
CustomLayout() { CustomLayout() {
ForEach([1, 2, 3], (index) => { ForEach([1, 2, 3], (index) => {
Text("Sub" + index) Text('Sub' + index)
.fontSize(30) .fontSize(30)
.borderWidth(2) .borderWidth(2)
}) })
...@@ -204,7 +204,7 @@ struct CustomLayout { ...@@ -204,7 +204,7 @@ struct CustomLayout {
let pos = 0 let pos = 0
children.forEach((child) => { children.forEach((child) => {
child.layout({ position: { x: pos, y: pos }, constraint: constraint }) child.layout({ position: { x: pos, y: pos }, constraint: constraint })
pos += 100; pos += 100
}) })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册