Skip to content

Commit

Permalink
修正 layer.photos 的 toolbar 版本说明
Browse files Browse the repository at this point in the history
  • Loading branch information
sentsim authored Aug 23, 2023
1 parent f2c6446 commit 3a3b47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/layer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ layer.prompt({
| photos | 图片层的数据源,格式详见下述示例。 | object | - |
| hideFooter <sup>2.8+</sup> | 是否隐藏底部栏 | boolean | `false` |
| tab | 图片层切换后的回调函数,返回的参数见下述示例 | function | - |
| toolbar <sup>2.15.x+</sup> | 是否显示顶部工具栏 | boolean | `false` |
| toolbar <sup>2.8.16+</sup> | 是否显示顶部工具栏 | boolean | `false` |

该方法用于弹出图片层,基于 `type: 1`(即 `page` 层)的自定义内容。

Expand Down

0 comments on commit 3a3b47b

Please sign in to comment.