Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Grid] grid-item使用image-props透传属性到Image,报错 #2443

Closed
tankle0 opened this issue Nov 17, 2023 · 3 comments
Closed

[Grid] grid-item使用image-props透传属性到Image,报错 #2443

tankle0 opened this issue Nov 17, 2023 · 3 comments
Labels
question This is a question, not a bug

Comments

@tankle0
Copy link

tankle0 commented Nov 17, 2023

tdesign-miniprogram 版本

1.2.3

重现链接

No response

重现步骤

image

期望结果

希望可以传递图片属性到image组件

实际结果

文档描述需要传递Object类型,但实际传递后报错
image
image

基础库版本

3.2.0

补充说明

No response

Copy link
Contributor

👋 @tankle0,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 20, 2023

@tankle0 试试 imageProps="{{ { showMenuByLongpress: true} }}"

@anlyyao anlyyao added the question This is a question, not a bug label Nov 20, 2023
@tankle0
Copy link
Author

tankle0 commented Nov 22, 2023

@tankle0 试试 imageProps="{{ { showMenuByLongpress: true} }}"

可以~

@anlyyao anlyyao closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants