未验证 提交 f9a4d0ef 编写于 作者: O openharmony_ci 提交者: Gitee

!5102 示例代码修改

Merge pull request !5102 from zengyawen/OpenHarmony-3.2-Beta1
...@@ -408,7 +408,7 @@ isNrSupported\(slotId: number\): boolean ...@@ -408,7 +408,7 @@ isNrSupported\(slotId: number\): boolean
```js ```js
let slotId = 0; let slotId = 0;
let result = radio.isNrSupported(slotId); let result = radio.isNrSupported(slotId);
console.log(result); console.log("result is "+ result);
``` ```
......
...@@ -521,7 +521,7 @@ getMaxSimCount\(\): number ...@@ -521,7 +521,7 @@ getMaxSimCount\(\): number
**示例:** **示例:**
```js ```js
console.log(sim.getMaxSimCount()) console.log("the result is "+sim.getMaxSimCount())
``` ```
......
...@@ -41,7 +41,7 @@ constructor是URI的构造函数。 ...@@ -41,7 +41,7 @@ constructor是URI的构造函数。
| 参数名 | 类型 | 可读 | 可写 | 说明 | | 参数名 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
| url | string | 是 | 是 | 入参对象。 | | uri | string | 是 | 是 | 入参对象。 |
**示例:** **示例:**
...@@ -71,7 +71,7 @@ toString(): string ...@@ -71,7 +71,7 @@ toString(): string
**示例:** **示例:**
```js ```js
const url = new uri.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new uri.URI('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toString() url.toString()
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册