未验证 提交 49638582 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-container-grid.md.

Signed-off-by: NLiAn <lian15@huawei.com>
Signed-off-by: NLiAn <lian15@huawei.com>
上级 0f8741bf
......@@ -215,10 +215,10 @@ struct GridExample {
3.[onItemDrop](#事件)中获取拖拽起始位置,和拖拽插入位置,在[onDrag](#事件)回调中完成交换数组位置逻辑。
```ts
@Entry
@Component
struct GridExample {
```ts
@Entry
@Component
struct GridExample {
@State numbers: String[] = []
scroller: Scroller = new Scroller()
@State text: string = 'drag'
......@@ -282,6 +282,6 @@ struct GridExample {
})
}.width('100%').margin({ top: 5 })
}
}
```
}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册