diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md index bb41739d61c6f05ab68b8eaf616902bc67d83ab2..07048ee142ba9a6a69ca930e6f24bdc86ddd1b45 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures-longpressgesture.md @@ -53,11 +53,11 @@ struct LongPressGestureExample { .height(200).width(300).padding(60).border({ width:1 }).margin(30) .gesture( LongPressGesture({ repeat: true }) - //长按动作存在会连续触发 + // 长按动作存在会连续触发 .onAction((event: GestureEvent) => { if (event.repeat) { this.count++ } }) - //长按动作一结束触发 + // 长按动作一结束触发 .onActionEnd(() => { this.count = 0 })