未验证 提交 8952d411 编写于 作者: J jackd320 提交者: Gitee

Signed-off-by: jackd320<jack.dai@huawei.com>

上级 e8ea42ad
......@@ -349,7 +349,7 @@ updater.getCurrentVersionInfo().then(info => {
### getCurrentVersionDescription
getCurrentVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void
getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void;
获取当前版本描述文件。使用callback异步回调。
......@@ -381,7 +381,7 @@ updater.getCurrentVersionDescription(descriptionOptions, (err, info) => {
### getCurrentVersionDescription
getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void;
getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise\<Array\<ComponentDescription>>;
获取当前版本描述文件。使用Promise异步回调。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册