diff --git a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md index b9a62ccc22d310913a85ff087c11de2a5ff40995..8c399fbb2c74d80edbf3547aeda08eddd5dbfa0f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md @@ -5819,7 +5819,7 @@ addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; let credentialInfo: account_osAccount.CredentialInfo = { credType: account_osAccount.AuthType.PIN, credSubType: account_osAccount.AuthSubType.PIN_SIX, - token: null + token: new Uint8Array([]), }; let userIDM = new account_osAccount.UserIdentityManager(); userIDM.openSession((err: BusinessError, challenge: Uint8Array) => {