From 0180dce88d5a6245dee7c7eb9d80d6fe67681c23 Mon Sep 17 00:00:00 2001 From: dpyzo0o Date: Thu, 12 Dec 2019 13:01:54 +0800 Subject: [PATCH] feat(weapp): add missing type for image component (#5071) --- packages/taro-components/types/Image.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/taro-components/types/Image.d.ts b/packages/taro-components/types/Image.d.ts index f8e4878b29e7..2b9d9b925327 100644 --- a/packages/taro-components/types/Image.d.ts +++ b/packages/taro-components/types/Image.d.ts @@ -24,6 +24,13 @@ export interface ImageProps extends StandardProps { */ lazyLoad?: boolean, + /** + * 开启长按图片显示识别小程序码菜单 + * + * 默认值: `false` + */ + showMenuByLongpress?: boolean, + /** * 当错误发生时,发布到 AppService 的事件名,事件对象 *