From eb28eb8881f8ab0e869e763aef60279426b1476b Mon Sep 17 00:00:00 2001 From: wshikh Date: Wed, 24 May 2023 10:10:40 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-secureElement.md. Signed-off-by: wshikh --- .../reference/apis/js-apis-secureElement.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-secureElement.md b/zh-cn/application-dev/reference/apis/js-apis-secureElement.md index 301a9ddc53..a9e0fad615 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-secureElement.md +++ b/zh-cn/application-dev/reference/apis/js-apis-secureElement.md @@ -206,7 +206,7 @@ import secureElement from '@ohos.secureElement'; try { // 有效this.nfcSEService,获取方式参考newService - this.nfcSEService.shutdown(); + this.nfcSEService.shutdown(); this.result = "shutdown成功"; } catch (e) { this.result = "shutdown异常:" + e.message; @@ -282,7 +282,7 @@ import secureElement from '@ohos.secureElement'; try { // this.nfcOmaReader有效的Reader,获取方式参考SEService.getReaders - this.result = this.nfcOmaReader.getName(); + this.result = this.nfcOmaReader.getName(); } catch (e) { this.result = "getName异常:" + e.message; } @@ -501,7 +501,7 @@ import secureElement from '@ohos.secureElement'; try { // this.nfcOmaSession:有效的Session,获取方式参考Reader.openSession - let ret = this.nfcOmaSession.getATR(); + let ret = this.nfcOmaSession.getATR(); if (ret) { this.result = "getATR结果:["; for (let i = 0; i < ret.length; ++i) { @@ -552,7 +552,7 @@ import secureElement from '@ohos.secureElement'; try { // this.nfcOmaSession:有效的Session,获取方式参考Reader.openSession - this.nfcOmaSession.close(); + this.nfcOmaSession.close(); this.result = "session close 成功"; } catch (e) { this.result = "session close 异常:" + e.message; @@ -590,7 +590,7 @@ import secureElement from '@ohos.secureElement'; try { // this.nfcOmaSession:有效的Session,获取方式参考Reader.openSession - let ret = this.nfcOmaSession.isClosed(); + let ret = this.nfcOmaSession.isClosed(); if (ret) { this.result = "session状态:closed"; } else { -- GitLab