preload an antd image in react

前端 未结 0 1369
野的像风
野的像风 2021-01-23 01:13

I have some antd images that I want to preload:

import {Image} from "antd";

class Unit extends React.Component {
    render() {
        return (
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题