在js中 新建一个new image()对象,image.src图片地址,这个是io读取是异步的,解决方法 image.οnlοad=function(){ } 转载于:https://www.cnblogs.com/FengWenQi/p/9552300.html