Skip to content

Commit

Permalink
fix: 修复Taro.previewImage方法中current字段的类型注释 (#16322)
Browse files Browse the repository at this point in the history
Co-authored-by: yangjunhao731 <yangjunhao731@hellobike.com>
Co-authored-by: 1874. <1094918@gmail.com>
  • Loading branch information
3 people authored Sep 16, 2024
1 parent d6f98fe commit 1ed101a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro/types/api/media/image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare module '../../index' {
/** 需要预览的图片链接列表。 */
urls: string[]
/**
* 微信端为当前显示图片的链接,支付宝端为当前显示图片的索引值
* 当前显示图片的http链接
*/
current?: string | number
/**
Expand Down

0 comments on commit 1ed101a

Please sign in to comment.