require() will only take string literal

后端 未结 0 1279
予麋鹿
予麋鹿 2021-02-07 04:38

I am making a react component which has a logo, the path is passed in dynamically.

class Popup extends Component {
  constructor(props) {
    super(props);
    th         


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