arco-design/arco-design-mobile

avatar组件在使用字体头像的时候,src必填导致ts报错

Closed this issue · 3 comments

Basic Info

  • Package Name And Version: @arco-design/mobile-react@2.28.0
  • Phone Model And Version: any

What is expected?

看了下源码,字体组件期望的是src为undefined,并且没有children传入。然而src却是必填

Steps to reproduce

在ts环境下输入

@halaproliu 同学,该问题已修复,近期发版:#145

@halaproliu 新版本@arco-design/mobile-react@2.28.1已发布~

@halaproliu 新版本@arco-design/mobile-react@2.28.1已发布~

好的