提交 0ee7e2f4 编写于 作者: Z zhuzijia

localStroge

Signed-off-by: Nzhuzijia <zhuzijia@huawei.com>
Change-Id: I39f0d8bc5f8e946271fb896d99a4ec4016081314
上级 19a9c340
......@@ -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绑定的组件会同步刷新;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册