You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

486 B

order title debug
99 [{zh-CN 图片不存在时} {en-US Fallback}] true

zh-CN

图片不存在时,会回退到 src

en-US

图片不存在时,会回退到 src

import { Avatar } from 'antd';

ReactDOM.render(
  <>
    <Avatar
      shape="circle"
      src="http://abc.com/not-exist.jpg"
    >
      A
    </Avatar>
    <Avatar
      shape="circle"
      src="http://abc.com/not-exist.jpg"
    >
      ABC
    </Avatar>
  </>,
  mountNode,
);