From 0ee7e2f4b6db303b6df6413ac6a4896ba859cd0f Mon Sep 17 00:00:00 2001 From: zhuzijia Date: Tue, 11 Jul 2023 10:01:35 +0800 Subject: [PATCH] localStroge Signed-off-by: zhuzijia Change-Id: I39f0d8bc5f8e946271fb896d99a4ec4016081314 --- zh-cn/application-dev/quick-start/arkts-localstorage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/quick-start/arkts-localstorage.md b/zh-cn/application-dev/quick-start/arkts-localstorage.md index dc667a47d2..8f28bc6acf 100644 --- a/zh-cn/application-dev/quick-start/arkts-localstorage.md +++ b/zh-cn/application-dev/quick-start/arkts-localstorage.md @@ -306,7 +306,7 @@ struct CompA { 先看Parent自定义组件中发生的变化: -1. 点击“countStorage ${this.playCount} incr by 1”,this.playCount减1,修改同步回LocalStorage中,Child组件中的playCountLink绑定的组件会同步刷新; +1. 点击“playCount ${this.playCount} dec by 1”,this.playCount减1,修改同步回LocalStorage中,Child组件中的playCountLink绑定的组件会同步刷新; 2. 点击“countStorage ${this.playCount} incr by 1”,调用LocalStorage的set接口,更新LocalStorage中“countStorage”对应的属性,Child组件中的playCountLink绑定的组件会同步刷新; -- GitLab