Cannot read property 'files' of undefined

Cannot read property 'files' of undefined

var shopImg= $('#shop-img')[0],files[0]

暂未解决

原文地址:https://www.cnblogs.com/YoungSone/p/12399052.html