diff --git a/zh-cn/application-dev/reference/apis/js-apis-huks.md b/zh-cn/application-dev/reference/apis/js-apis-huks.md index dfc6747c373ec6a1e2b117d84c33220f7912c704..1d635863fe726fcf66c322bc50979a48bd73dc78 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-huks.md +++ b/zh-cn/application-dev/reference/apis/js-apis-huks.md @@ -1361,6 +1361,7 @@ isKeyItemExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback\< **示例:** ```js +import huks from '@ohos.security.huks'; import promptAction from '@ohos.promptAction'; /* 此处options选择emptyOptions来传空 */ @@ -1424,6 +1425,7 @@ isKeyItemExist(keyAlias: string, options: HuksOptions) : Promise\ ```js import huks from '@ohos.security.huks'; +import promptAction from '@ohos.promptAction'; /* 此处options选择emptyOptions来传空 */ let keyAlias = 'keyAlias';