标签: html reactjs jus
我试图在组件内声明变量图像,但它显示错误。enter image description here
答案 0 :(得分:1)
删除让
您正在使用类组件,不需要在类内部显式,当您需要调用它时,请这样做:
this.images