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

fix: 修复翻牌器/富文本的部分问题 #686

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

TMBigGroup
Copy link
Contributor

本次pr修复了三个问题

  • 翻牌器中心有蓝色小点,鼠标移动到上方会变大。
    查阅代码,发现翻牌器的实现是借助了scatter图表,通过label展示实现的,所谓的蓝色小点其实是默认的一个scatter元素,控制下symbolSize即可
  • 翻牌器无法显示0
    || 运算符,吃掉0的问题,判断类型处理一下即可
  • 富文本无法显示0
    富文本使用的react-quill插件,而value使用了Delta格式,查阅官方文档/TS类型可知,insert的值只对string及特定obj友好。所以在把number转为string

@scottsut scottsut requested a review from qxqzx13 January 26, 2022 08:04
@qxqzx13 qxqzx13 merged commit e842279 into running-elephant:dev Jan 26, 2022
@scottsut
Copy link
Contributor

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

3 participants