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

[t-avatar] 头像尺寸传 rpx 单位时,font-size 计算结果是 NaN #3375

Closed
wangming-0215 opened this issue Dec 19, 2024 · 4 comments · Fixed by #3387
Closed

[t-avatar] 头像尺寸传 rpx 单位时,font-size 计算结果是 NaN #3375

wangming-0215 opened this issue Dec 19, 2024 · 4 comments · Fixed by #3387
Labels
enhancement New feature or request

Comments

@wangming-0215
Copy link

tdesign-miniprogram 版本

1.8.2

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

image
image
这里是不是也要处理一下rpx单位?

Copy link
Contributor

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

@anlyyao
Copy link
Collaborator

anlyyao commented Dec 19, 2024

@wangming-0215 只支持了 px,倒是也符合api描述 😂。 rpx 单位 我们下个版本处理,感谢反馈~

@anlyyao anlyyao added the enhancement New feature or request label Dec 19, 2024
@wangming-0215
Copy link
Author

@wangming-0215 只支持了 px,倒是也符合api描述 😂。 rpx 单位 我们下个版本处理,感谢反馈~

好的好的,非常感谢!我先自己处理转成px先用着

@anlyyao
Copy link
Collaborator

anlyyao commented Dec 23, 2024

@wangming-0215 只支持了 px,倒是也符合api描述 😂。 rpx 单位 我们下个版本处理,感谢反馈~

好的好的,非常感谢!我先自己处理转成px先用着

已处理。 本周没有发版计划,预计下周 1.8.4 版本可带

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants