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

!14197 monthly1018:一致性问题修改,需同步翻译

Merge pull request !14197 from 葛亚芳/cherry-pick-1675245753
......@@ -2846,7 +2846,7 @@ try {
### get
get(key: string, callback: AsyncCallback<boolean | string| number | Uint8Array>): void
get(key: string, callback: AsyncCallback&lt;boolean | string | number | Uint8Array&gt;): void
获取指定键的值,使用callback异步回调。
......@@ -2897,7 +2897,7 @@ try {
### get
get(key: string): Promise&lt;boolean | string| number | Uint8Array&gt;
get(key: string): Promise&lt;boolean | string | number | Uint8Array&gt;
获取指定键的值,使用Promise异步回调。
......@@ -4848,7 +4848,7 @@ try {
### get
get(key: string, callback: AsyncCallback<boolean | string| number | Uint8Array>): void
get(key: string, callback: AsyncCallback&lt;boolean | string | number | Uint8Array&gt;): void
获取本设备指定键的值,使用callback异步回调。
......@@ -4899,7 +4899,7 @@ try {
### get
get(key: string): Promise&lt;boolean | string| number | Uint8Array&gt;
get(key: string): Promise&lt;boolean | string | number | Uint8Array&gt;
获取本设备指定键的值,使用Promise异步回调。
......@@ -4951,7 +4951,7 @@ try {
### get
get(deviceId: string, key: string, callback: AsyncCallback&lt;boolean|string|number|Uint8Array&gt;): void
get(deviceId: string, key: string, callback: AsyncCallback&lt;boolean | string | number | Uint8Array&gt;): void
获取与指定设备ID和key匹配的string值,使用callback异步回调。
......@@ -5003,7 +5003,7 @@ try {
### get
get(deviceId: string, key: string): Promise&lt;boolean|string|number|Uint8Array&gt;
get(deviceId: string, key: string): Promise&lt;boolean | string | number | Uint8Array&gt;
获取与指定设备ID和key匹配的string值,使用Promise异步回调。
......
......@@ -51,7 +51,7 @@ export default {
## storage.set
get(options: SetStorageOptions): void
set(options: SetStorageOptions): void
修改缓存中索引对应的值。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册