diff --git a/zh-cn/application-dev/reference/apis/js-apis-call.md b/zh-cn/application-dev/reference/apis/js-apis-call.md
index 143f8106eb28c81d0f2bd4047c83faf09ca0634e..f09dd20b04ab5b7b94a12f2fb9171db222141276 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-call.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-call.md
@@ -403,7 +403,7 @@ formatPhoneNumber\(phoneNumber: string, options: NumberFormatOptions, callback:
**示例:**
```js
-call.formatPhoneNumber("138xxxxxxxx",{
+call.formatPhoneNumber("138xxxxxxxx", {
countryCode: "CN"
}, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
diff --git a/zh-cn/application-dev/reference/apis/js-apis-sim.md b/zh-cn/application-dev/reference/apis/js-apis-sim.md
index 057ff36a9f6da193fda5070f9db5b9f93b4ffe54..5a8044a0eaf8a0e68e9180ba41c8e3a49ee063c3 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-sim.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-sim.md
@@ -689,7 +689,7 @@ promise.then(data => {
## sim.**setShowName**8+
-setShowName\(slotId: number, name: string,callback: AsyncCallback\): void
+setShowName\(slotId: number, name: string, callback: AsyncCallback\): void
设置指定卡槽SIM卡显示的名称。使用callback异步回调。
@@ -818,7 +818,7 @@ promise.then(data => {
## sim.**setShowNumber**8+
-setShowNumber\(slotId: number, number: string,callback: AsyncCallback\): void
+setShowNumber\(slotId: number, number: string, callback: AsyncCallback\): void
设置指定卡槽SIM卡的号码。使用callback异步回调。
@@ -848,7 +848,7 @@ sim.setShowNumber(0, number, (err, data) => {
## sim.**setShowNumber**8+
-setShowNumber\(slotId: number,number: string\): Promise\
+setShowNumber\(slotId: number, number: string\): Promise\
设置指定卡槽SIM卡的号码。使用Promise异步回调。
@@ -885,7 +885,7 @@ promise.then(data => {
## sim.**getShowNumber**8+
-getShowNumber(slotId: number,callback: AsyncCallback): void
+getShowNumber(slotId: number, callback: AsyncCallback): void
获取指定卡槽SIM卡的号码。使用callback异步回调。
@@ -1344,7 +1344,7 @@ promise.then(data => {
## sim.**unlockPin**7+
-unlockPin(slotId: number,pin: string ,callback: AsyncCallback): void
+unlockPin(slotId: number, pin: string, callback: AsyncCallback): void
解锁指定卡槽SIM卡密码。使用callback异步回调。
@@ -1374,7 +1374,7 @@ sim.unlockPin(0, pin, (err, data) => {
## sim.**unlockPin**7+
-unlockPin(slotId: number,pin: string): Promise<LockStatusResponse\>
+unlockPin(slotId: number, pin: string): Promise<LockStatusResponse\>
解锁指定卡槽SIM卡密码。使用Promise异步回调。
@@ -1411,7 +1411,7 @@ promise.then(data => {
## sim.**unlockPuk**7+
-unlockPuk(slotId: number,newPin: string,puk: string ,callback: AsyncCallback): void
+unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback): void
解锁指定卡槽SIM卡密码的解锁密码。使用callback异步回调。
@@ -1443,7 +1443,7 @@ sim.unlockPuk(0, newPin, puk, (err, data) => {
## sim.**unlockPuk**7+
-unlockPuk(slotId: number,newPin: string,puk: string): Promise<LockStatusResponse\>
+unlockPuk(slotId: number, newPin: string, puk: string): Promise<LockStatusResponse\>
解锁指定卡槽SIM卡密码的解锁密码。使用Promise异步回调。
@@ -1482,7 +1482,7 @@ promise.then(data => {
## sim.**unlockPin**28+
-unlockPin2(slotId: number,pin2: string ,callback: AsyncCallback): void
+unlockPin2(slotId: number, pin2: string, callback: AsyncCallback): void
解锁指定卡槽SIM卡密码。使用callback异步回调。
@@ -1512,7 +1512,7 @@ sim.unlockPin2(0, pin2, (err, data) => {
## sim.**unlockPin**28+
-unlockPin2(slotId: number,pin2: string): Promise<LockStatusResponse\>
+unlockPin2(slotId: number, pin2: string): Promise<LockStatusResponse\>
解锁指定卡槽SIM卡密码。使用Promise异步回调。
@@ -1539,7 +1539,7 @@ unlockPin2(slotId: number,pin2: string): Promise<LockStatusResponse\>
```js
let pin2='1234';
-let promise = sim.unlockPin2(0,pin2);
+let promise = sim.unlockPin2(0, pin2);
promise.then(data => {
console.log(`unlockPin2 success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
@@ -1851,7 +1851,7 @@ setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback:
**示例:**
```js
-sim.setVoiceMailInfo(0, "mail", "xxx@xxx.com" , (err, data) => {
+sim.setVoiceMailInfo(0, "mail", "xxx@xxx.com", (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
diff --git a/zh-cn/application-dev/reference/apis/js-apis-sms.md b/zh-cn/application-dev/reference/apis/js-apis-sms.md
index 06030a9c2e2eec099af75ffece66b3ebdcfb3507..ad949c3e6aec875eddca77418e6d697fb9273821 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-sms.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-sms.md
@@ -160,7 +160,7 @@ promise.then(data => {
## sms.setDefaultSmsSlotId7+
-setDefaultSmsSlotId\(slotId: number,callback: AsyncCallback<void>\): void
+setDefaultSmsSlotId\(slotId: number, callback: AsyncCallback<void>\): void
设置发送短信的默认SIM卡槽ID。使用callback异步回调。
@@ -180,7 +180,7 @@ setDefaultSmsSlotId\(slotId: number,callback: AsyncCallback<void>\): void
**示例:**
```js
-sms.setDefaultSmsSlotId(0,(err, data) => {
+sms.setDefaultSmsSlotId(0, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
diff --git a/zh-cn/application-dev/reference/apis/js-apis-telephony-data.md b/zh-cn/application-dev/reference/apis/js-apis-telephony-data.md
index 8308b4d497abf182aea438782f4704394d40c079..4f57d924a8463e87bec2edd6425c43c08b95e1d9 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-telephony-data.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-telephony-data.md
@@ -87,7 +87,7 @@ console.log("Result: "+ data.getDefaultCellularDataSlotIdSync())
## data.setDefaultCellularDataSlotId
-setDefaultCellularDataSlotId(slotId: number,callback: AsyncCallback\): void
+setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\): void
设置默认移动数据的SIM卡,使用callback方式作为异步方法。
@@ -107,7 +107,7 @@ setDefaultCellularDataSlotId(slotId: number,callback: AsyncCallback\): vo
**示例:**
```js
-data.setDefaultCellularDataSlotId(0,(err, data) => {
+data.setDefaultCellularDataSlotId(0, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
@@ -312,7 +312,7 @@ isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback\)
**示例:**
```js
-data.isCellularDataRoamingEnabled(0,(err, data) => {
+data.isCellularDataRoamingEnabled(0, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```