TypeError: Cannot read properties of undefined (reading ‘img’) 关于这种问题不要慌 , 建议换个浏览器试试 相同的项目,相同的代码,在Google Chrome中打开以后就报这种错误 验证码打显示不出来 但是换了火狐浏览器就什么是都没了。 谷歌真垃圾!!!