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

绘制文本时,content必须为字符串 #82

Open
Airmole opened this issue Aug 7, 2019 · 0 comments
Open

绘制文本时,content必须为字符串 #82

Airmole opened this issue Aug 7, 2019 · 0 comments

Comments

@Airmole
Copy link

Airmole commented Aug 7, 2019

绘制文本时(即type: 'text'时),content内容必须为字符串。我在使用过程中content值为整数,canvas无法绘制出数字内容。
解决方案,将数值型数据转换为字符型数据即可。

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

No branches or pull requests

1 participant