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

!7040 master 拼写错误修改:无需翻译

Merge pull request !7040 from 葛亚芳/master
......@@ -489,7 +489,7 @@ Obtains the IDs of all KV stores that are created by [getKVStore()](#getkvstore)
let kvManager;
try {
console.log('GetAllKVStoreId');
kvManager.getAllKVStoreId('apppId').then((data) => {
kvManager.getAllKVStoreId('appId').then((data) => {
console.log('getAllKVStoreId success');
console.log('size = ' + data.length);
}).catch((err) => {
......@@ -4252,7 +4252,7 @@ try {
console.log('getSecurityLevel success');
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......@@ -4282,7 +4282,7 @@ try {
console.log('getSecurityLevel fail ' + JSON.stringify(err));
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......
......@@ -126,8 +126,8 @@ Checks whether the application has the permission to access the device.
- **Example**
```js
let divicesName="1-1";
let bool = usb.hasRight(divicesName);
let devicesName="1-1";
let bool = usb.hasRight(devicesName);
console.log(bool);
```
......@@ -152,8 +152,8 @@ Requests the temporary permission for the application to access the USB device.
- **Example**
```js
let divicesName="1-1";
usb.requestRight(divicesName).then((ret) => {
let devicesName="1-1";
usb.requestRight(devicesName).then((ret) => {
console.log(`requestRight = ${JSON.stringify(ret)}`);
});
```
......
......@@ -558,7 +558,7 @@ getAllKVStoreId(appId: string): Promise<string[]>
let kvManager;
try {
console.log('GetAllKVStoreId');
kvManager.getAllKVStoreId('apppId').then((data) => {
kvManager.getAllKVStoreId('appId').then((data) => {
console.log('getAllKVStoreId success');
console.log('size = ' + data.length);
}).catch((err) => {
......@@ -4320,7 +4320,7 @@ try {
console.log('getSecurityLevel success');
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......@@ -4350,7 +4350,7 @@ try {
console.log('getSecurityLevel fail ' + JSON.stringify(err));
});
}catch(e) {
console.log('GetSecurityLeve e ' + e);
console.log('GetSecurityLevel e ' + e);
}
```
......
......@@ -43,7 +43,7 @@ Drawing模块提供包括2D图形渲染、文字绘制和图片显示等功能
### Classes
| Classe Name | Description |
| Classes Name | Description |
| -------- | -------- |
| [OH_Drawing_BitmapFormat](_o_h___drawing___bitmap_format.md) | 结构体用于描述位图像素的格式,包括颜色类型和透明度类型 |
......
......@@ -21,7 +21,7 @@
### Classes
| Classe Name | Description |
| Classes Name | Description |
| -------- | -------- |
| [OH_Drawing_BitmapFormat](_o_h___drawing___bitmap_format.md) | 结构体用于描述位图像素的格式,包括颜色类型和透明度类型 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册