From c488c23ef09a200ce54801b0c59c22019829f1d6 Mon Sep 17 00:00:00 2001 From: LiAn Date: Mon, 28 Aug 2023 06:24:00 +0000 Subject: [PATCH] update zh-cn/application-dev/ui/arkts-component-animation.md. Signed-off-by: LiAn Signed-off-by: LiAn --- zh-cn/application-dev/ui/arkts-component-animation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/ui/arkts-component-animation.md b/zh-cn/application-dev/ui/arkts-component-animation.md index 831132f9b4..3199691f74 100644 --- a/zh-cn/application-dev/ui/arkts-component-animation.md +++ b/zh-cn/application-dev/ui/arkts-component-animation.md @@ -279,7 +279,7 @@ export struct TaskSwitchMainPage { .translate({ x: this.cardOffset }) .animation({ curve: curves.springMotion() }) .zIndex((this.getProgress(index) >= 0.4 && this.getProgress(index) <= 0.6) ? 2 : 1) - }, item => item) + }, item => item.index) } .width((this.cardWidth + this.cardSpace) * (taskDataArr.length + 1)) .height('100%') -- GitLab