From 2a4201924a6260020624574eec41410827efe76a Mon Sep 17 00:00:00 2001 From: Bo Jiang Date: Thu, 15 Sep 2022 02:09:09 +0000 Subject: [PATCH] update zh-cn/application-dev/ui/ui-ts-local-storage.md. Signed-off-by: Bo Jiang --- zh-cn/application-dev/ui/ui-ts-local-storage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/ui/ui-ts-local-storage.md b/zh-cn/application-dev/ui/ui-ts-local-storage.md index 8536d05de0..6ce7f284b6 100644 --- a/zh-cn/application-dev/ui/ui-ts-local-storage.md +++ b/zh-cn/application-dev/ui/ui-ts-local-storage.md @@ -278,7 +278,7 @@ clear(): boolean ### 示例1(在一个Ability创建的LocalStorage) -> 说明:loadContent中的参数说明请查阅[@loadContent](../reference/apis/js-apis-window.md)。 +loadContent接口说明请参考[@loadContent](../reference/apis/js-apis-window.md)。 ```ts import Ability from '@ohos.application.Ability' @@ -293,7 +293,7 @@ export default class MainAbility extends Ability { console.log("[Demo MainAbility onDestroy]") } onWindowStageCreate(windowStage) { - //storage作为参数传递给loadContent接口,loadContent接口说明请查阅相关文档. + // storage作为参数传递给loadContent接口。 windowStage.loadContent("pages/index",this.storage) } onWindowStageDestroy() { -- GitLab