Cannot read property 'files' of undefined Cannot read property 'files' of undefined var shopImg= $('#shop-img')[0],files[0] 暂未解决