“a9ea99d7006b6619e86a85623b8dddb275cd47fc”上不存在“...contrib/git@gitcode.net:s920243400/PaddleDetection.git”
未验证 提交 0c866863 编写于 作者: O openharmony_ci 提交者: Gitee

!17626 modify storeWebArchive API description(3.2release)

Merge pull request !17626 from 李想/cherry-pick-1682389872
......@@ -2106,7 +2106,7 @@ storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\<st
| -------- | --------------------- | ---- | ------------------------------------------------------------ |
| baseName | string | 是 | 文件存储路径,该值不能为空。 |
| autoName | boolean | 是 | 决定是否自动生成文件名。 如果为false,则将baseName作为文件存储路径。 如果为true,则假定baseName是一个目录,将根据当前页的Url自动生成文件名。 |
| callback | AsyncCallback\<string> | 是 | 返回文件存储路径,保网页失败会返回null。 |
| callback | AsyncCallback\<string> | 是 | 返回文件存储路径,保网页失败会返回null。 |
**错误码:**
......@@ -2130,7 +2130,7 @@ struct WebComponent {
build() {
Column() {
Button('saveWebArchive')
Button('storeWebArchive')
.onClick(() => {
try {
this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
......@@ -2195,7 +2195,7 @@ struct WebComponent {
build() {
Column() {
Button('saveWebArchive')
Button('storeWebArchive')
.onClick(() => {
try {
this.controller.storeWebArchive("/data/storage/el2/base/", true)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册