diff --git a/zh-cn/application-dev/reference/apis/js-apis-fileio.md b/zh-cn/application-dev/reference/apis/js-apis-fileio.md index 1e6def6533c67181588eed4a966acda87a8f4311..df7bf37867a7410a18d2609db8255a90ce2d598e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-fileio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-fileio.md @@ -760,7 +760,7 @@ rmdir(path: string, callback:AsyncCallback<void>): void ``` -## fileio.rmdirSync +## fileio.rmdirSync7+ rmdirSync(path: string): void diff --git a/zh-cn/application-dev/reference/apis/js-apis-storage-statistics.md b/zh-cn/application-dev/reference/apis/js-apis-storage-statistics.md index b0eb0fbaf3c5f628c3621dfd62b78af9f2f2eee8..ed954168db6cdeb5fc250e12aafccc2a49e125a9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-storage-statistics.md +++ b/zh-cn/application-dev/reference/apis/js-apis-storage-statistics.md @@ -126,7 +126,7 @@ getFreeSizeOfVolume(volumeUuid: string, callback:AsyncCallback<number>):vo }); ``` -## storagestatistics.getBundleStats9+ +## storagestatistics.getBundleStats getBundleStats(packageName: string): Promise<BundleStats> @@ -157,7 +157,7 @@ getBundleStats(packageName: string): Promise<BundleStats> }); ``` -## storagestatistics.getBundleStats9+ +## storagestatistics.getBundleStats getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void diff --git a/zh-cn/application-dev/reference/apis/js-apis-volumemanager.md b/zh-cn/application-dev/reference/apis/js-apis-volumemanager.md index 55913343e0462c816c5592d07d09cc5b5d78cff5..c644344a1efaacae2939a6828fa27714b1a56c1a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-volumemanager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-volumemanager.md @@ -11,7 +11,7 @@ import volumemanager from "@ohos.volumeManager"; ``` -## volumemanager.getAllVolumes +## volumemanager.getAllVolumes9+ getAllVolumes(): Promise<Array<Volume>> @@ -33,7 +33,7 @@ getAllVolumes(): Promise<Array<Volume>> }); ``` -## volumemanager.getAllVolumes +## volumemanager.getAllVolumes9+ getAllVolumes(callback: AsyncCallback<Array<Volume>>): void