diff --git a/zh-cn/application-dev/reference/apis/js-apis-arraylist.md b/zh-cn/application-dev/reference/apis/js-apis-arraylist.md index cecb7b7b0cb306fec81610b475839fe756024ec7..059e706a5eda43e0590af517bfd71fea862efb07 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-arraylist.md +++ b/zh-cn/application-dev/reference/apis/js-apis-arraylist.md @@ -6,7 +6,7 @@ ## 导入模块 ``` -import {ArrayList} from '@ohos.util.ArrayList' +import ArrayList from '@ohos.util.ArrayList' ``` ## 权限 diff --git a/zh-cn/application-dev/reference/apis/js-apis-deque.md b/zh-cn/application-dev/reference/apis/js-apis-deque.md index 8a845a02e8a12d2f5b103c11c9ef21982ef84a65..6ef3ab95b545c41765e72178de06a080fbc82c08 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-deque.md +++ b/zh-cn/application-dev/reference/apis/js-apis-deque.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {Deque} from '@ohos.util.Deque' +import Deque from '@ohos.util.Deque' ``` ## 权限 @@ -30,7 +30,7 @@ Deque的构造函数。 - 示例: ``` - let queue = new Queue(); + let deque = new Deque(); ``` ### insertFront diff --git a/zh-cn/application-dev/reference/apis/js-apis-hashmap.md b/zh-cn/application-dev/reference/apis/js-apis-hashmap.md index bb8b631ed02837a7645134a62a985e162db24b10..751642a8acf530c77a123ecedf14d96d947e14a1 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-hashmap.md +++ b/zh-cn/application-dev/reference/apis/js-apis-hashmap.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {HashMap} from '@ohos.util.HashMap' +import HashMap from '@ohos.util.HashMap' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-hashset.md b/zh-cn/application-dev/reference/apis/js-apis-hashset.md index cf0a8fcfc2ef15b87c88ddb89e6a7019609711c5..3589c8fdb1e8607152ee2e57e0a070b594ca3345 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-hashset.md +++ b/zh-cn/application-dev/reference/apis/js-apis-hashset.md @@ -7,10 +7,9 @@ ## 导入模块 ``` -import {HashSet} from '@ohos.util.HashSet' +import HashSet from '@ohos.util.HashSet'; ``` - ## 权限 无 diff --git a/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md b/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md index 81af9fe3a0b734117c1324415d2119f0ee0e644a..b05217f58a56e2bb69fff3753dcceb88d1f2619a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md +++ b/zh-cn/application-dev/reference/apis/js-apis-lightweightmap.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {LightWeightMap} from '@ohos.util.LightWeightMap' +import LightWeightMap from '@ohos.util.LightWeightMap' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md b/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md index 8f31ac5037df748bfe566232281d937ab089a146..353250ebdcb353a0ed9843b09c70869dba7a7b69 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md +++ b/zh-cn/application-dev/reference/apis/js-apis-lightweightset.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {LightWeightSet} from '@ohos.util.LightWeightSet' +import LightWeightSet from '@ohos.util.LightWeightSet' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md b/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md index 8c8cd37ffd6d1da955c8dac7134b751bb2fa2b7a..385391288e46dd506618e3c19f0b2074af407abe 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md +++ b/zh-cn/application-dev/reference/apis/js-apis-linkedlist.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {LinkedList} from '@ohos.util.LinkedList' +import LinkedList from '@ohos.util.LinkedList' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-list.md b/zh-cn/application-dev/reference/apis/js-apis-list.md index 03a5b0e01e1497c7346c2b1c01c808c78bc2c9a7..bef7e6b9b4346110aff2868d616dfc8afafebc1c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-list.md +++ b/zh-cn/application-dev/reference/apis/js-apis-list.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {List} from '@ohos.util.List' +import List from '@ohos.util.List' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-plainarray.md b/zh-cn/application-dev/reference/apis/js-apis-plainarray.md index 0c56ffe5dac2e3e85662a92c520ab6d27be776e5..f8657b795f73c6238842c81b245cb7e52ad7f8ca 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-plainarray.md +++ b/zh-cn/application-dev/reference/apis/js-apis-plainarray.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {PlainArray} from '@ohos.util.PlainArray' +import PlainArray from '@ohos.util.PlainArray' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-queue.md b/zh-cn/application-dev/reference/apis/js-apis-queue.md index cef46e3686c6497b449ec7704a053b602d68695d..30eb24a15f2e4fe6d03b8fcae31c84ebb4a98d60 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-queue.md +++ b/zh-cn/application-dev/reference/apis/js-apis-queue.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {Queue} from '@ohos.util.Queue' +import Queue from '@ohos.util.Queue' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-stack.md b/zh-cn/application-dev/reference/apis/js-apis-stack.md index a9250af729524f7f1c2277e1dbb91b27ac081e83..c20b9196cd20fe6b88b58bbeb192aa261abb24ee 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-stack.md +++ b/zh-cn/application-dev/reference/apis/js-apis-stack.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {Stack} from '@ohos.util.Stack' +import Stack from '@ohos.util.Stack' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-treemap.md b/zh-cn/application-dev/reference/apis/js-apis-treemap.md index c5c7abe34f92fd7d6de77c0abbf36ae4caa853a8..56fd01993c739aced2a480e6957c571580a6be39 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-treemap.md +++ b/zh-cn/application-dev/reference/apis/js-apis-treemap.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {TreeMap} from '@ohos.util.TreeMap' +import TreeMap from '@ohos.util.TreeMap' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-treeset.md b/zh-cn/application-dev/reference/apis/js-apis-treeset.md index 30f1a22033dc77341aa214bcb1d835055c8922cf..10cbd68738d777fd5c8788ec379f7562ca449f7f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-treeset.md +++ b/zh-cn/application-dev/reference/apis/js-apis-treeset.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {TreeSet} from '@ohos.util.TreeSet' +import TreeSet from '@ohos.util.TreeSet' ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-vector.md b/zh-cn/application-dev/reference/apis/js-apis-vector.md index 4453db94cb7b85427b75b61025df0e41fa752b72..e0548b7cd3d43907ae849068ce2595a199d4166e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-vector.md +++ b/zh-cn/application-dev/reference/apis/js-apis-vector.md @@ -7,7 +7,7 @@ ## 导入模块 ``` -import {Vector} from '@ohos.util.Vector' +import Vector from '@ohos.util.Vector' ```