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 ee93e66a837ecb64bb7c635106dd5700369a9fae..427e9e333ade5857e7763c160b318f2f4378adfd 100644 --- a/zh-cn/application-dev/ui/ui-ts-local-storage.md +++ b/zh-cn/application-dev/ui/ui-ts-local-storage.md @@ -282,7 +282,7 @@ clear(): boolean import Ability from '@ohos.application.Ability' export default class MainAbility extends Ability { storage : LocalStorage - onCreate(want) { + onCreate() { this.storage = new LocalStorage(); this.storage.setOrCreate("storageSimpleProp",121); console.log("[Demo MainAbility onCreate]");